[wp-trac] [WordPress Trac] #16031: New bulk actions hook missing catcher behavior

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 20 18:13:20 UTC 2012


#16031: New bulk actions hook missing catcher behavior
----------------------------+-----------------------------
 Reporter:  Veraxus         |       Owner:  scribu
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |
----------------------------+-----------------------------

Comment (by edward mindreantre):

 As far as I can see, adding bulk actions isn't really a problem. A quick
 add_bulk_actions filter in the bulk_actions() function will solve the
 adding of filters.

 It's the handling of the $_POST that's somewhat more of a problem, seeing
 that handling should be done before page output.

 And since none of the post, link, comment, etc pages have anything in
 common that will mean adding bulk _POST handling code individually into
 each page.

 Maybe $wp_list_table->handle_bulk_actions(); above
 $wp_list_table->prepare_items(); ?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16031#comment:37>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list