mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 02:10:45 +01:00
Docs: The $size
parameters in the begin_fetch_post_thumbnail_html
and end_fetch_post_thumbnail_html
hooks can also accept an array (already supported).
See #34257. See #32246. See [35070] and [35071]. Built from https://develop.svn.wordpress.org/trunk@35074 git-svn-id: http://core.svn.wordpress.org/trunk@35039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dcb18faab8
commit
03a39f75b3
@ -139,7 +139,7 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr =
|
|||||||
*
|
*
|
||||||
* @param int $post_id The post ID.
|
* @param int $post_id The post ID.
|
||||||
* @param string $post_thumbnail_id The post thumbnail ID.
|
* @param string $post_thumbnail_id The post thumbnail ID.
|
||||||
* @param string $size The post thumbnail size. Image size or array of width
|
* @param string|array $size The post thumbnail size. Image size or array of width
|
||||||
* and height values (in that order). Default 'post-thumbnail'.
|
* and height values (in that order). Default 'post-thumbnail'.
|
||||||
*/
|
*/
|
||||||
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
|
do_action( 'begin_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
|
||||||
@ -154,7 +154,7 @@ function get_the_post_thumbnail( $post = null, $size = 'post-thumbnail', $attr =
|
|||||||
*
|
*
|
||||||
* @param int $post_id The post ID.
|
* @param int $post_id The post ID.
|
||||||
* @param string $post_thumbnail_id The post thumbnail ID.
|
* @param string $post_thumbnail_id The post thumbnail ID.
|
||||||
* @param string $size The post thumbnail size. Image size or array of width
|
* @param string|array $size The post thumbnail size. Image size or array of width
|
||||||
* and height values (in that order). Default 'post-thumbnail'.
|
* and height values (in that order). Default 'post-thumbnail'.
|
||||||
*/
|
*/
|
||||||
do_action( 'end_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
|
do_action( 'end_fetch_post_thumbnail_html', $post->ID, $post_thumbnail_id, $size );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-35073';
|
$wp_version = '4.4-alpha-35074';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user