diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php
index 8055a7b7dc..f6c903e485 100644
a
|
b
|
function bulk_edit_posts( $post_data = null ) { |
541 | 541 | } |
542 | 542 | |
543 | 543 | if ( isset($new_cats) && in_array( 'category', $tax_names ) ) { |
544 | | $cats = (array) wp_get_post_categories($post_ID); |
545 | | $post_data['post_category'] = array_unique( array_merge($cats, $new_cats) ); |
| 544 | // $cats = (array) wp_get_post_categories($post_ID); |
| 545 | // $post_data['post_category'] = array_unique( array_merge($cats, $new_cats) ); |
546 | 546 | unset( $post_data['tax_input']['category'] ); |
547 | 547 | } |
548 | 548 | |