[wp-trac] [WordPress Trac] #20451: wp_insert_post() should accept a meta_input argument

WordPress Trac noreply at wordpress.org
Wed Sep 2 07:44:08 UTC 2015


#20451: wp_insert_post() should accept a meta_input argument
-------------------------------+------------------
 Reporter:  johnbillion        |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  low                |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------
Changes (by swissspidy):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 4.4


Comment:

 [attachment:20451.2.diff 20451.2.diff] is an updated patch that also
 updates the docblock for `wp_insert_post` and includes a unit test for the
 newly added `meta_input` parameter.

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


More information about the wp-trac mailing list