Make WordPress Core


Ignore:
Timestamp:
12/10/2009 06:14:36 AM (15 years ago)
Author:
markjaquith
Message:

Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.

File:
1 edited

Legend:

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

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