[wp-trac] [WordPress Trac] #38435: Wrong documentation for wp_insert_post

WordPress Trac noreply at wordpress.org
Sat Mar 30 17:01:01 UTC 2019


#38435: Wrong documentation for wp_insert_post
-------------------------------------------------+-------------------------
 Reporter:  nabil_kadimi                         |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  General                              |     Version:  4.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh good-first-  |     Focuses:  docs
  bug                                            |
-------------------------------------------------+-------------------------

Comment (by angelagibson):

 I'm new to contributing but I took a look at this. If I understand
 correctly, after reviewing the code it looks like the updates referenced
 above have already been made.  wp_set_post_categories() and
 wp_insert_post() were both changed in ticket:45171 changeset:44660.
 wp_set_post_terms() was updated in ticket:42505 changeset:42664

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


More information about the wp-trac mailing list