Ticket #16031: 16031.diff
File 16031.diff, 1.4 KB (added by , 9 years ago) |
---|
-
src/wp-admin/edit.php
164 164 break; 165 165 } 166 166 167 /** 168 * After built-in bulk actions have been handled. 169 */ 170 do_action( 'handle_bulk_actions-' . get_current_screen()->id, $doaction ); 171 167 172 $sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback ); 168 173 174 /** 175 * Filter the sendback link after a bulk action has been triggered. 176 */ 177 $sendback = apply_filters( 'after_handle_bulk_actions_sendback_link-' . get_current_screen()->id, $sendback, $doaction ); 178 169 179 wp_redirect($sendback); 170 180 exit(); 171 181 } elseif ( ! empty($_REQUEST['_wp_http_referer']) ) { -
src/wp-admin/includes/class-wp-list-table.php
450 450 * @param array $actions An array of the available bulk actions. 451 451 */ 452 452 $this->_actions = apply_filters( "bulk_actions-{$this->screen->id}", $this->_actions ); 453 $this->_actions = array_intersect_assoc( $this->_actions, $no_new_actions );454 453 $two = ''; 455 454 } else { 456 455 $two = '2';