Changeset 27991
- Timestamp:
- 04/07/2014 07:35:18 PM (11 years ago)
- Location:
- branches/3.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.8
-
branches/3.8/src/wp-admin/includes/post.php
r27976 r27991 461 461 $post_data['post_ID'] = $post_ID; 462 462 463 $ post_data = _wp_translate_postdata( true, $post_data );464 if ( is_wp_error( $ post_data ) ) {463 $translated_post_data = _wp_translate_postdata( true, $post_data ); 464 if ( is_wp_error( $translated_post_data ) ) { 465 465 $skipped[] = $post_ID; 466 466 continue; 467 467 } 468 468 469 $updated[] = wp_update_post( $ post_data );469 $updated[] = wp_update_post( $translated_post_data ); 470 470 471 471 if ( isset( $post_data['sticky'] ) && current_user_can( $ptype->cap->edit_others_posts ) ) {
Note: See TracChangeset
for help on using the changeset viewer.