diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 4e91dc0e28..3e7e333fbe 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -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 );