[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:36:15 UTC 2017
#41513: Pass $wp_error param to wp_insert_attachment() inside wp_update_post()
-------------------------------+---------------------
Reporter: MyThemeShop | Owner: dd32
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.0
Component: Posts, Post Types | Version: 4.9
Severity: normal | Resolution: fixed
Keywords: | Focuses:
-------------------------------+---------------------
Changes (by dd32):
* owner: => dd32
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"42383"]:
{{{
#!CommitTicketReference repository="" revision="42383"
Posts: When using `wp_update_post()` on a `attachment` post_type item,
pass the `$wp_error` parameter through to `wp_insert_attachment()`.
Props MyThemeShop.
Fixes #41513.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41513#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list