[wp-trac] [WordPress Trac] #41513: Pass $wp_error param to wp_insert_attachment() inside wp_update_post()
WordPress Trac
noreply at wordpress.org
Mon Dec 11 06:33:41 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: 5.0
Component: Posts, Post Types | Version: 4.9
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------------+------------------
Changes (by dd32):
* component: General => Posts, Post Types
* milestone: Awaiting Review => 5.0
Comment:
Hey @MyThemeShop
Thanks for submitting this, this seems pretty straight forward and an
obvious oversight from when `wp_insert_attachment()` didn't support
returning a `WP_Error`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41513#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list