[wp-trac] [WordPress Trac] #41513: Pass $wp_error param to wp_insert_attachment() inside wp_update_post()

WordPress Trac noreply at wordpress.org
Tue Aug 1 14:21:00 UTC 2017


#41513: Pass $wp_error param to wp_insert_attachment() inside wp_update_post()
-------------------------+-----------------------------
 Reporter:  MyThemeShop  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 `wp_update_post()` have `$wp_error` param which is not passed to
 `wp_insert_attachment()` in case of attachment. It is not causing any
 issue in core, though, as far as I can see.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41513>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list