diff --git a/src/wp-includes/post-thumbnail-template.php b/src/wp-includes/post-thumbnail-template.php
index 4722565..9ca2a0c 100644
a
|
b
|
function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr = |
122 | 122 | * Filters the post thumbnail size. |
123 | 123 | * |
124 | 124 | * @since 2.9.0 |
| 125 | * @since 4.9.0 Added the `$post` parameter |
125 | 126 | * |
126 | 127 | * @param string|array $size The post thumbnail size. Image size or array of width and height |
127 | 128 | * values (in that order). Default 'post-thumbnail'. |
| 129 | * @param WP_Post $post The post object |
128 | 130 | */ |
129 | | $size = apply_filters( 'post_thumbnail_size', $size ); |
| 131 | $size = apply_filters( 'post_thumbnail_size', $size, $post ); |
130 | 132 | |
131 | 133 | if ( $post_thumbnail_id ) { |
132 | 134 | |