Docs: Fix `image_get_intermediate_size()` docblock.
The description of returned values in array was incorrect for `image_get_intermediate_size()`: - `$file` returns the filename of image, no path information - `$path` returns path relative to the uploads directory, not absolute Props crstauf, sccr410. Fixes #58686. See #57840. Built from https://develop.svn.wordpress.org/trunk@56122 git-svn-id: http://core.svn.wordpress.org/trunk@55634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4e24d5d690
commit
5933075eae
|
@ -749,10 +749,10 @@ function wp_image_matches_ratio( $source_width, $source_height, $target_width, $
|
|||
* Array of file relative path, width, and height on success. Additionally includes absolute
|
||||
* path and URL if registered size is passed to `$size` parameter. False on failure.
|
||||
*
|
||||
* @type string $file Path of image relative to uploads directory.
|
||||
* @type string $file Filename of image.
|
||||
* @type int $width Width of image in pixels.
|
||||
* @type int $height Height of image in pixels.
|
||||
* @type string $path Absolute filesystem path of image.
|
||||
* @type string $path Path of image relative to uploads directory.
|
||||
* @type string $url URL of image.
|
||||
* }
|
||||
*/
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-beta2-56121';
|
||||
$wp_version = '6.3-beta2-56122';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue