[wp-trac] [WordPress Trac] #47952: create_and_get() doesn't consider that create() can return a WP_Error
WordPress Trac
noreply at wordpress.org
Mon Sep 23 18:54:28 UTC 2019
#47952: create_and_get() doesn't consider that create() can return a WP_Error
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
------------------------------+--------------------------
Changes (by johnbillion):
* owner: (none) => johnbillion
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"46262" 46262]:
{{{
#!CommitTicketReference repository="" revision="46262"
Build/Test tools: Ensure the `create_and_get()` factory method returns the
appropriate WP_Error when creating a term fails.
Fixes: #47952
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47952#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list