WordPress.org

Make WordPress Core

Changeset 38136


Ignore:
Timestamp:
07/22/16 11:39:28 (17 months ago)
Author:
ocean90
Message:

Media: Remove global import for $content_width in _wp_post_thumbnail_html().

$content_width is unused since [35023].

See #28512.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r38118 r38136  
    13761376 * @since 2.9.0 
    13771377 * 
    1378  * @global int   $content_width 
    13791378 * @global array $_wp_additional_image_sizes 
    13801379 * 
     
    13841383 */ 
    13851384function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) { 
    1386     global $content_width, $_wp_additional_image_sizes; 
     1385    global $_wp_additional_image_sizes; 
    13871386 
    13881387    $post               = get_post( $post ); 
Note: See TracChangeset for help on using the changeset viewer.