Changeset 49021 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 09/20/2020 04:21:42 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r48782 r49021 1537 1537 * Note: When a theme adds 'post-thumbnail' support, a special 'post-thumbnail' 1538 1538 * image size is registered, which differs from the 'thumbnail' image size 1539 * managed via the Settings > Media screen. See the `$size` parameter description 1540 * for more information on default values. 1539 * managed via the Settings > Media screen. 1541 1540 * 1542 1541 * @since 4.4.0 1543 1542 * 1544 * @param string|array $size Post thumbnail image size to display in the meta box. Accepts any valid 1545 * image size, or an array of width and height values in pixels (in that order). 1546 * If the 'post-thumbnail' size is set, default is 'post-thumbnail'. Otherwise, 1547 * default is an array with 266 as both the height and width values. 1543 * @param string|int[] $size Requested image size. Can be any registered image size name, or 1544 * an array of width and height values in pixels (in that order). 1548 1545 * @param int $thumbnail_id Post thumbnail attachment ID. 1549 1546 * @param WP_Post $post The post object associated with the thumbnail.
Note: See TracChangeset
for help on using the changeset viewer.