Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #16031, comment 75


Ignore:
Timestamp:
01/27/2016 11:58:58 PM (9 years ago)
Author:
flixos90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16031, comment 75

    initial v1  
    11@ericlewis I think it would be helpful if the action hook would also send the items to perform the bulk action on - for example we could send the post IDs to the action callback. Otherwise plugin developers would need to always get the post IDs from `$_REQUEST` on their own although this could be handled by Core I think.
     2
     3Also, in your patch it's possible to do something even on the Core actions. I don't think developers should be able to adjust the way WordPress edits/trashes/deletes posts from here, so I'd propose to put the action into a `default` in the switch clause above.