[wp-trac] [WordPress Trac] #60038: Pass original array of arguments to hooks that fire within `wp_insert_post()`

WordPress Trac noreply at wordpress.org
Tue Jun 11 18:48:27 UTC 2024


#60038: Pass original array of arguments to hooks that fire within
`wp_insert_post()`
-------------------------------------------------+-------------------------
 Reporter:  johnbillion                          |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.7
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch changes-    |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  good-first-bug has-patch dev-feedback => good-first-bug has-
     patch changes-requested


Comment:

 This patch needs more work because the affected filters and actions also
 fire in other places in core, not just within the `wp_insert_post()`
 function.

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


More information about the wp-trac mailing list