[wp-trac] [WordPress Trac] #31359: wp_insert_post documentation missing post_title

WordPress Trac noreply at wordpress.org
Fri Feb 20 15:02:54 UTC 2015


#31359: wp_insert_post documentation missing post_title
-------------------------------+--------------------
 Reporter:  atimmer            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  4.2
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  trivial            |  Resolution:
 Keywords:  has-patch          |     Focuses:  docs
-------------------------------+--------------------

Comment (by SergeyBiryukov):

 `$comment_status` and `$ping_status` should be changed to `string`, they
 can be `'open'` or `'closed'`. Apparently this was an oversight in
 [25628].

 Looks good to me otherwise.

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


More information about the wp-trac mailing list