[wp-trac] [WordPress Trac] #21963: Consolidate post insertion APIs

WordPress Trac noreply at wordpress.org
Sat May 24 05:10:19 UTC 2014


#21963: Consolidate post insertion APIs
--------------------------------------------------+------------------
 Reporter:  nacin                                 |       Owner:
     Type:  defect (bug)                          |      Status:  new
 Priority:  normal                                |   Milestone:  4.0
Component:  Posts, Post Types                     |     Version:
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-unit-tests 3.6-early  |     Focuses:
--------------------------------------------------+------------------
Changes (by DrewAPicture):

 * milestone:  Future Release => 4.0


Comment:

 O_o purdy.

 [attachment: 21963.4.diff] updates the inline docs for
 `wp_insert_attachment()` and changes the `$object` parameter to `$args`
 since we're basically overwriting the function anyway.

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


More information about the wp-trac mailing list