[wp-trac] [WordPress Trac] #48558: Return the taxonomy object in register_taxonomy()
WordPress Trac
noreply at wordpress.org
Wed Feb 5 06:24:29 UTC 2020
#48558: Return the taxonomy object in register_taxonomy()
----------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.4
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"47186" 47186]:
{{{
#!CommitTicketReference repository="" revision="47186"
Taxonomy: In `register_taxonomy()`, return the registered taxonomy object
on success, for consistency with `register_post_type()`.
Props krynes, SergeyBiryukov.
Fixes #48558.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48558#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list