Ticket #39589: 39589_b.patch
File 39589_b.patch, 633 bytes (added by , 6 years ago) |
---|
-
wp-admin/upload.php
167 167 break; 168 168 default: 169 169 /** This action is documented in wp-admin/edit-comments.php */ 170 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids ); 170 if ( ! isset( $post_ids ) ) { 171 $post_ids = array(); 172 } 173 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, (array) $post_ids ); 171 174 } 172 175 173 176 wp_redirect( $location );