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

WordPress Trac noreply at wordpress.org
Fri Jun 27 20:19:36 UTC 2014


#20046: Unnecessary default category code remains in wp_insert_attachment
-----------------------------------------+----------------------
 Reporter:  jeremyfelt                   |       Owner:
     Type:  enhancement                  |      Status:  closed
 Priority:  normal                       |   Milestone:
Component:  Media                        |     Version:  2.0
 Severity:  trivial                      |  Resolution:  invalid
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 There is no more substance inside `wp_insert_attachment()` after [28788].
 No unnecessary category code runs unless `category` is enabled for the
 `attachment` post type.

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


More information about the wp-trac mailing list