Changeset 49020 for trunk/src/wp-includes/media.php
- Timestamp:
- 09/20/2020 03:53:52 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/media.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/media.php
r49012 r49020 750 750 * @return array|false { 751 751 * Array of file relative path, width, and height on success. Additionally includes absolute 752 * path and URL if registered size is passed to $sizeparameter. False on failure.753 * 754 * @type string $file Image's path relative to uploads directory755 * @type int $width Width of image 756 * @type int $height Height of image 757 * @type string $path Image's absolute filesystem path.758 * @type string $url Image's URL.752 * path and URL if registered size is passed to `$size` parameter. False on failure. 753 * 754 * @type string $file Path of image relative to uploads directory. 755 * @type int $width Width of image in pixels. 756 * @type int $height Height of image in pixels. 757 * @type string $path Absolute filesystem path of image. 758 * @type string $url URL of image. 759 759 * } 760 760 */ … … 1154 1154 * @access private 1155 1155 * 1156 * @param string $size_name Image size. Accepts any valid image size name ('thumbnail', 'medium', etc.).1156 * @param string $size_name Image size. Accepts any registered image size name. 1157 1157 * @param array $image_meta The image meta data. 1158 * @return array|bool The image meta data as returned by `wp_get_attachment_metadata()`. 1158 * @return array|false { 1159 * Array of width and height or false if the size isn't present in the meta data. 1160 * 1161 * @type int $0 Image width. 1162 * @type int $1 Image height. 1163 * } 1159 1164 */ 1160 1165 function _wp_get_image_size_from_meta( $size_name, $image_meta ) {
Note: See TracChangeset
for help on using the changeset viewer.