Docs: Add missing commas in a few DocBlocks for various media functions.
Follow-up to [56416]. Props truptikanzariya. Fixes #62433. Built from https://develop.svn.wordpress.org/trunk@59406 git-svn-id: http://core.svn.wordpress.org/trunk@58792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9bc4fadffa
commit
ea47259795
|
@ -182,7 +182,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
* @return true|WP_Error
|
* @return true|WP_Error
|
||||||
|
@ -214,7 +214,7 @@ class WP_Image_Editor_GD extends WP_Image_Editor {
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
* @return resource|GdImage|WP_Error
|
* @return resource|GdImage|WP_Error
|
||||||
|
|
|
@ -346,7 +346,7 @@ class WP_Image_Editor_Imagick extends WP_Image_Editor {
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
* @return true|WP_Error
|
* @return true|WP_Error
|
||||||
|
|
|
@ -111,7 +111,7 @@ abstract class WP_Image_Editor {
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
* @return true|WP_Error
|
* @return true|WP_Error
|
||||||
|
|
|
@ -288,7 +288,7 @@ function image_downsize( $id, $size = 'medium' ) {
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
@ -350,7 +350,7 @@ function remove_image_size( $name ) {
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
|
@ -530,7 +530,7 @@ function wp_constrain_dimensions( $current_width, $current_height, $max_width =
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
* @return array|false Returned array matches parameters for `imagecopyresampled()`. False on failure.
|
* @return array|false Returned array matches parameters for `imagecopyresampled()`. False on failure.
|
||||||
|
@ -684,7 +684,7 @@ function image_resize_dimensions( $orig_w, $orig_h, $dest_w, $dest_h, $crop = fa
|
||||||
* If true, image will be cropped to the specified dimensions using center positions.
|
* 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:
|
* If an array, the image will be cropped using the array to specify the crop location:
|
||||||
*
|
*
|
||||||
* @type string $0 The x crop position. Accepts 'left' 'center', or 'right'.
|
* @type string $0 The x crop position. Accepts 'left', 'center', or 'right'.
|
||||||
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
* @type string $1 The y crop position. Accepts 'top', 'center', or 'bottom'.
|
||||||
* }
|
* }
|
||||||
* @return array|false Metadata array on success. False if no image was created.
|
* @return array|false Metadata array on success. False if no image was created.
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.8-alpha-59405';
|
$wp_version = '6.8-alpha-59406';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue