- Timestamp:
- 04/07/2014 05:58:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r27975 r27990 483 483 $post_data['post_ID'] = $post_ID; 484 484 485 $ post_data = _wp_translate_postdata( true, $post_data );486 if ( is_wp_error( $ post_data ) ) {485 $translated_post_data = _wp_translate_postdata( true, $post_data ); 486 if ( is_wp_error( $translated_post_data ) ) { 487 487 $skipped[] = $post_ID; 488 488 continue; 489 489 } 490 490 491 $updated[] = wp_update_post( $ post_data );491 $updated[] = wp_update_post( $translated_post_data ); 492 492 493 493 if ( isset( $post_data['sticky'] ) && current_user_can( $ptype->cap->edit_others_posts ) ) {
Note: See TracChangeset
for help on using the changeset viewer.