Ticket #22224: 22224.patch
File 22224.patch, 1.5 KB (added by , 8 years ago) |
---|
-
wp-admin/includes/class-wp-plugins-list-table.php
252 252 return $actions; 253 253 } 254 254 255 function bulk_actions( $which) {255 function bulk_actions() { 256 256 global $status; 257 257 258 258 if ( in_array( $status, array( 'mustuse', 'dropins' ) ) ) 259 259 return; 260 260 261 parent::bulk_actions( $which);261 parent::bulk_actions(); 262 262 } 263 263 264 264 function extra_tablenav( $which ) { … … 293 293 return; 294 294 295 295 foreach ( $this->items as $plugin_file => $plugin_data ) 296 $this->single_row( $plugin_file, $plugin_data);296 $this->single_row( array( $plugin_file, $plugin_data ) ); 297 297 } 298 298 299 function single_row( $ plugin_file, $plugin_data) {299 function single_row( $item ) { 300 300 global $status, $page, $s, $totals; 301 301 302 list( $plugin_file, $plugin_data ) = $item; 302 303 $context = $status; 303 304 $screen = $this->screen; 304 305 -
wp-admin/includes/class-wp-list-table.php
765 765 <div class="tablenav <?php echo esc_attr( $which ); ?>"> 766 766 767 767 <div class="alignleft actions"> 768 <?php $this->bulk_actions( $which); ?>768 <?php $this->bulk_actions(); ?> 769 769 </div> 770 770 <?php 771 771 $this->extra_tablenav( $which );