Changeset 19902 for trunk/wp-admin/includes/ajax-actions.php
- Timestamp:
- 02/10/2012 05:41:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/ajax-actions.php
r19897 r19902 1572 1572 if ( $thumbnail_id == '-1' ) { 1573 1573 if ( delete_post_thumbnail( $post_ID ) ) 1574 wp_die( _wp_post_thumbnail_html( ) );1574 wp_die( _wp_post_thumbnail_html( null, $post_ID ) ); 1575 1575 else 1576 1576 wp_die( 0 ); … … 1578 1578 1579 1579 if ( set_post_thumbnail( $post_ID, $thumbnail_id ) ) 1580 wp_die( _wp_post_thumbnail_html( $thumbnail_id ) );1580 wp_die( _wp_post_thumbnail_html( $thumbnail_id, $post_ID ) ); 1581 1581 wp_die( 0 ); 1582 1582 }
Note: See TracChangeset
for help on using the changeset viewer.