[wp-trac] [WordPress Trac] #48769: meta_input, tax_input, tags_input and post_category arguments are not available in functions or methods hooked to wp_insert_post

WordPress Trac noreply at wordpress.org
Thu Sep 11 13:21:26 UTC 2025


#48769: meta_input, tax_input, tags_input and post_category arguments are not
available in functions or methods hooked to wp_insert_post
-----------------------------------------+------------------------------
 Reporter:  henry.wright                 |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Posts, Post Types            |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------
Changes (by SirLouen):

 * keywords:  has-patch dev-feedback => has-patch reporter-feedback


Comment:

 @henrywright what can you find in `$postarr` that you will not be able to
 pick from the post object at that point. I've been trying to check
 differences with some example and I cannot see a value that could make the
 difference

 Rather than just theorizing about the utility of this change, can you put
 a specific `use case` example where you showcase a useful scenario of
 taking this extra parameter?

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


More information about the wp-trac mailing list