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

WordPress Trac noreply at wordpress.org
Thu Jun 22 19:23:35 UTC 2023


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

Comment (by oglekler):

 @SergeyBiryukov, yes, I think {{{$shared_post_data}}} is more accurate,
 but you've missed $ of this variable in the patch.
 {{{$shared_post_data['post']}}} and $updated should be equal, but better
 to keep {{{$updated}}}. I would have expected that if nothing has changed,
 the post ID will not be added to $updated, but this isn't the case, even
 if nothing has changed in post parameters, it's still going to this array.

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


More information about the wp-trac mailing list