[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 Feb 23 07:46:10 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 has-patch  |     Focuses:
--------------------------------------+-----------------------------
Changes (by marukou1976):

 * keywords:  good-first-bug needs-patch => good-first-bug has-patch


Comment:

 I'm re-uploading
 [60038.2.diff](https://core.trac.wordpress.org/attachment/ticket/60038/60038.2.2.diff)
 as it was corrupted. Specifically, it was in UTF-16LE, so I have converted
 it to UTF-8.

 The content itself includes $unsanitized_postarr as an argument, which I
 believe meets the requirements. I'm also developing a plugin, and I find
 this to be more convenient.

 I've changed the status to has-patch.

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


More information about the wp-trac mailing list