X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/4feeb71a9d812a9ae371c28a3d8b442a4394ded7..607b7e02d77e7326161e8ec15639052d2040f745:/wp-includes/class-wp-image-editor.php diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php index 5b6f4ac9..c046823e 100644 --- a/wp-includes/class-wp-image-editor.php +++ b/wp-includes/class-wp-image-editor.php @@ -237,7 +237,7 @@ abstract class WP_Image_Editor { public function set_quality( $quality = null ) { if ( null === $quality ) { /** - * Filter the default image compression quality setting. + * Filters the default image compression quality setting. * * Applies only during initial editor instantiation, or when set_quality() is run * manually without the `$quality` argument. @@ -253,7 +253,7 @@ abstract class WP_Image_Editor { if ( 'image/jpeg' == $this->mime_type ) { /** - * Filter the JPEG compression quality for backward-compatibility. + * Filters the JPEG compression quality for backward-compatibility. * * Applies only during initial editor instantiation, or when set_quality() is run * manually without the `$quality` argument. @@ -276,7 +276,7 @@ abstract class WP_Image_Editor { } } - // Allow 0, but squash to 1 due to identical images in GD, and for backwards compatibility. + // Allow 0, but squash to 1 due to identical images in GD, and for backward compatibility. if ( 0 === $quality ) { $quality = 1; } @@ -333,7 +333,7 @@ abstract class WP_Image_Editor { // If not, choose a default instead. if ( ! $this->supports_mime_type( $mime_type ) ) { /** - * Filter default mime type prior to getting the file extension. + * Filters default mime type prior to getting the file extension. * * @see wp_get_mime_types() *