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

WordPress Trac noreply at wordpress.org
Fri Jan 19 19:09:59 UTC 2024


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

 * keywords:  good-first-bug has-patch => good-first-bug needs-patch
 * milestone:  Awaiting Review => Future Release


Comment:

 Thanks for the patch @rizwan_47! But, it doesn't do what I mentioned in
 the description. The `$unsanitized_postarr` array needs to be passed,
 either on its own or along with `$postarr`. Would you like to take another
 look?

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


More information about the wp-trac mailing list