mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@12343 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -815,12 +815,12 @@ function link_advanced_meta_box($link) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Display post thumbnail meta box.
|
||||
* Display post image meta box.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*/
|
||||
function post_thumbnail_meta_box() {
|
||||
function post_image_meta_box() {
|
||||
global $post;
|
||||
$thumbnail_id = get_post_meta( $post->ID, '_thumbnail_id', true );
|
||||
echo _wp_post_thumbnail_html( $thumbnail_id );
|
||||
echo _wp_post_image_html( $thumbnail_id );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user