Ticket #16031: 16031-no-new.diff
File 16031-no-new.diff, 751 bytes (added by , 14 years ago) |
---|
-
wp-admin/includes/class-wp-list-table.php
264 264 $screen = get_current_screen(); 265 265 266 266 if ( is_null( $this->_actions ) ) { 267 $this->_actions = $this->get_bulk_actions(); 267 $no_new_actions = $this->_actions = $this->get_bulk_actions(); 268 // This filter can currently only be used to remove actions. 268 269 $this->_actions = apply_filters( 'bulk_actions-' . $screen->id, $this->_actions ); 270 $this->_actions = array_intersect_key( $this->_actions, $no_new_actions ); 269 271 $two = ''; 270 } 271 else { 272 } else { 272 273 $two = '2'; 273 274 } 274 275