diff --git a/src/wp-includes/class-wp-image-editor-gd.php b/src/wp-includes/class-wp-image-editor-gd.php index 2b168999aa..de079357fb 100644 --- a/src/wp-includes/class-wp-image-editor-gd.php +++ b/src/wp-includes/class-wp-image-editor-gd.php @@ -165,8 +165,8 @@ class WP_Image_Editor_GD extends WP_Image_Editor { * * @param int|null $max_w Image width. * @param int|null $max_h Image height. - * @param bool|array $crop { - * Optional. Image cropping behavior. If false, the image will be scaled (default), + * @param bool|array $crop { + * Optional. Image cropping behavior. If false, the image will be scaled (default). * If true, image will be cropped to the specified dimensions using center positions. * If an array, the image will be cropped using the array to specify the crop location: * @@ -197,8 +197,8 @@ class WP_Image_Editor_GD extends WP_Image_Editor { /** * @param int $max_w * @param int $max_h - * @param bool|array $crop { - * Optional. Image cropping behavior. If false, the image will be scaled (default), + * @param bool|array $crop { + * Optional. Image cropping behavior. If false, the image will be scaled (default). * If true, image will be cropped to the specified dimensions using center positions. * If an array, the image will be cropped using the array to specify the crop location: * diff --git a/src/wp-includes/class-wp-image-editor-imagick.php b/src/wp-includes/class-wp-image-editor-imagick.php index 0e3c696f2f..7229c903b4 100644 --- a/src/wp-includes/class-wp-image-editor-imagick.php +++ b/src/wp-includes/class-wp-image-editor-imagick.php @@ -320,8 +320,8 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor { * * @param int|null $max_w Image width. * @param int|null $max_h Image height. - * @param bool|array $crop { - * Optional. Image cropping behavior. If false, the image will be scaled (default), + * @param bool|array $crop { + * Optional. Image cropping behavior. If false, the image will be scaled (default). * If true, image will be cropped to the specified dimensions using center positions. * If an array, the image will be cropped using the array to specify the crop location: * diff --git a/src/wp-includes/class-wp-image-editor.php b/src/wp-includes/class-wp-image-editor.php index da4fbab905..bb15a03a07 100644 --- a/src/wp-includes/class-wp-image-editor.php +++ b/src/wp-includes/class-wp-image-editor.php @@ -106,8 +106,8 @@ abstract class WP_Image_Editor { * * @param int|null $max_w Image width. * @param int|null $max_h Image height. - * @param bool|array $crop { - * Optional. Image cropping behavior. If false, the image will be scaled (default), + * @param bool|array $crop { + * Optional. Image cropping behavior. If false, the image will be scaled (default). * If true, image will be cropped to the specified dimensions using center positions. * If an array, the image will be cropped using the array to specify the crop location: * diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 0cece188dc..dca22d3d37 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -346,7 +346,7 @@ function remove_image_size( $name ) { * @param int $width Image width in pixels. * @param int $height Image height in pixels. * @param bool|array $crop { - * Optional. Image cropping behavior. If false, the image will be scaled (default), + * Optional. Image cropping behavior. If false, the image will be scaled (default). * If true, image will be cropped to the specified dimensions using center positions. * If an array, the image will be cropped using the array to specify the crop location: * @@ -680,7 +680,7 @@ function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = fa * @param int $width Image width. * @param int $height Image height. * @param bool|array $crop { - * Optional. Image cropping behavior. If false, the image will be scaled (default), + * Optional. Image cropping behavior. If false, the image will be scaled (default). * If true, image will be cropped to the specified dimensions using center positions. * If an array, the image will be cropped using the array to specify the crop location: *