[wp-trac] [WordPress Trac] #16031: Bulk actions: Reactivate bulk actions hook + add hander hook for all admin screens

WordPress Trac noreply at wordpress.org
Thu Oct 6 22:31:22 UTC 2016


#16031: Bulk actions: Reactivate bulk actions hook + add hander hook for all admin
screens
----------------------------+-----------------------
 Reporter:  Veraxus         |       Owner:
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  4.7
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+-----------------------
Changes (by johnbillion):

 * keywords:  has-patch => needs-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The dynamically-named `'handle_bulk_actions-*` hook receives different
 parameters depending on the value of the dynamic portion of the hook name.
 Yikes! Clear documentation for this will get ugly.

 These should either be statically named hooks, or a better way of clearly
 passing different formats and number of data to the hooks is needed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/16031#comment:94>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list