[wp-trac] [WordPress Trac] #37813: Missing $wp_error parameter for wp_insert_attachment

WordPress Trac noreply at wordpress.org
Fri Aug 26 15:37:07 UTC 2016


#37813: Missing $wp_error parameter for wp_insert_attachment
-------------------------------------------------+-------------------------
 Reporter:  grapplerulrich                       |       Owner:
     Type:  enhancement                          |  grapplerulrich
 Priority:  normal                               |      Status:  assigned
Component:  Media                                |   Milestone:  4.7
 Severity:  normal                               |     Version:  2.0
 Keywords:  good-first-bug has-patch needs-      |  Resolution:
  testing                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by mrahmadawais):

 * keywords:  good-first-bug has-patch => good-first-bug has-patch needs-
     testing


Comment:

 Oh, looks like I forgot to upload and when I did, there was already a
 patch. Anywho, I added the docs as well. Looks, like @grapplerulrich your
 patch has some issue as well. It's removing what you intend to add. Test
 my patch to see what I am talking about.

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


More information about the wp-trac mailing list