[wp-trac] [WordPress Trac] #36224: WP_Taxonomy class
WordPress Trac
noreply at wordpress.org
Fri Oct 7 17:11:03 UTC 2016
#36224: WP_Taxonomy class
-------------------------------------------------+-------------------------
Reporter: swissspidy | Owner: swissspidy
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Taxonomy | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests 4.7-early | Focuses:
commit |
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"38747"]:
{{{
#!CommitTicketReference repository="" revision="38747"
Taxonomy: Introduce `WP_Taxonomy` and use it in `register_taxonomy()` and
`unregister_taxonomy()`.
This changes the global `$wp_taxonomies` to an array of `WP_Taxonomy `
objects. `WP_Taxonomy ` includes methods to handle rewrite rules and
hooks.
Each taxonomy argument becomes a property of `WP_Taxonomy`. Introducing
such a class makes further improvements in the future much more feasible.
Props boonebgorges for review.
Fixes #36224. See #36217.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36224#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list