[wp-trac] [WordPress Trac] #20046: Unnecessary default category code remains in wp_insert_attachment

WordPress Trac noreply at wordpress.org
Thu May 22 20:50:03 UTC 2014


#20046: Unnecessary default category code remains in wp_insert_attachment
-----------------------------------------+------------------------------
 Reporter:  jeremyfelt                   |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Media                        |     Version:  2.0
 Severity:  trivial                      |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+------------------------------

Comment (by wonderboymusic):

 I recently annotated `wp_insert_attachment()` - it shows where it diverges
 from `wp_insert_post()` and how it relates to `post_category`

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


More information about the wp-trac mailing list