[wp-trac] [WordPress Trac] #28112: bulk_edit_posts() function needs an action hook

WordPress Trac noreply at wordpress.org
Sat Jan 21 16:05:37 UTC 2023


#28112: bulk_edit_posts() function needs an action hook
--------------------------------------+-----------------------
 Reporter:  helgatheviking            |       Owner:  audrasjb
     Type:  enhancement               |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.2
Component:  Quick/Bulk Edit           |     Version:  3.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch needs-dev-note  |     Focuses:
--------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 Replying to [comment:33 audrasjb]:
 > I might be wrong, but I think the issue if that there is no way to
 determine the context of the process (in this case: running a bulk edit
 process).

 I appears that `$_GET['bulk_edit']` is set during bulk edit, so that might
 be a way to check for the context. Then again, what would be a use case of
 only saving some data on bulk edit but not on regular post edit?

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


More information about the wp-trac mailing list