diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 2a7dfab0b5..70637ea5d1 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -482,13 +482,13 @@ function bulk_edit_posts( $post_data = null ) { $post_data['ID'] = $post_ID; $post_data['post_ID'] = $post_ID; - $post_data = _wp_translate_postdata( true, $post_data ); - if ( is_wp_error( $post_data ) ) { + $translated_post_data = _wp_translate_postdata( true, $post_data ); + if ( is_wp_error( $translated_post_data ) ) { $skipped[] = $post_ID; continue; } - $updated[] = wp_update_post( $post_data ); + $updated[] = wp_update_post( $translated_post_data ); if ( isset( $post_data['sticky'] ) && current_user_can( $ptype->cap->edit_others_posts ) ) { if ( 'sticky' == $post_data['sticky'] )