[wp-trac] [WordPress Trac] #16031: New bulk actions hook missing catcher behavior
WordPress Trac
noreply at wordpress.org
Sun Aug 30 10:21:21 UTC 2015
#16031: New bulk actions hook missing catcher behavior
----------------------------+-----------------------------
Reporter: Veraxus | Owner:
Type: enhancement | Status: assigned
Priority: normal | Milestone: Future Release
Component: Administration | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
----------------------------+-----------------------------
Comment (by flixos90):
+1 for the patch @Veraxus, looks like a great starting point to relive
this issue.
One thing we need to consider is whether the hook name should be tied to
the screen ID vs the action name. Sure, the action name is sent as
parameter, but still... For example, if you wanted to allow the same bulk
action for all post type tables, you would need to use multiple hooks.
Might be an edge-case, but I would assume that a bulk action hook would
contain the name of the bulk action.
An alternative would be to have hooks for both cases, though it's probably
better to make a real decision here.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/16031#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list