WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/08/2009 09:24:32 PM (11 years ago)
Author:
markjaquith
Message:

More standardization around Post/Page Image instead of Post/Page Thumbnail

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-ajax.php

    r12286 r12343  
    14111411    if ( $thumbnail_id == '-1' ) {
    14121412        delete_post_meta( $post_id, '_thumbnail_id' );
    1413         die( _wp_post_thumbnail_html() );
     1413        die( _wp_post_image_html() );
    14141414    }
    14151415
     
    14181418        if ( !empty( $thumbnail_html ) ) {
    14191419            update_post_meta( $post_id, '_thumbnail_id', $thumbnail_id );
    1420             die( _wp_post_thumbnail_html( $thumbnail_id ) );
     1420            die( _wp_post_image_html( $thumbnail_id ) );
    14211421        }
    14221422    }
Note: See TracChangeset for help on using the changeset viewer.