Changeset 41267 for trunk/src/wp-includes/post-thumbnail-template.php
- Timestamp:
- 08/18/2017 06:18:51 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-thumbnail-template.php
r37915 r41267 123 123 * 124 124 * @since 2.9.0 125 * 126 * @param string|array $size The post thumbnail size. Image size or array of width and height 127 * values (in that order). Default 'post-thumbnail'. 125 * @since 4.9.0 Added the `$post_id` parameter. 126 * 127 * @param string|array $size The post thumbnail size. Image size or array of width and height 128 * values (in that order). Default 'post-thumbnail'. 129 * @param int $post_id The post ID. 128 130 */ 129 $size = apply_filters( 'post_thumbnail_size', $size );131 $size = apply_filters( 'post_thumbnail_size', $size, $post->ID ); 130 132 131 133 if ( $post_thumbnail_id ) {
Note: See TracChangeset
for help on using the changeset viewer.