Media: Remove global import for `$content_width` in `_wp_post_thumbnail_html()`.
`$content_width` is unused since [35023]. See #28512. Built from https://develop.svn.wordpress.org/trunk@38136 git-svn-id: http://core.svn.wordpress.org/trunk@38077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c578b90b96
commit
c4dfc0adba
|
@ -1375,7 +1375,6 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
|
|||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @global int $content_width
|
||||
* @global array $_wp_additional_image_sizes
|
||||
*
|
||||
* @param int $thumbnail_id ID of the attachment used for thumbnail
|
||||
|
@ -1383,7 +1382,7 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
|
|||
* @return string html
|
||||
*/
|
||||
function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
|
||||
global $content_width, $_wp_additional_image_sizes;
|
||||
global $_wp_additional_image_sizes;
|
||||
|
||||
$post = get_post( $post );
|
||||
$post_type_object = get_post_type_object( $post->post_type );
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.6-beta4-38135';
|
||||
$wp_version = '4.6-beta4-38136';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue