[wp-trac] [WordPress Trac] #11058: Add unregister_taxonomy()
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 21 01:53:17 UTC 2010
#11058: Add unregister_taxonomy()
-------------------------+--------------------------------------------------
Reporter: scribu | Owner: dd32
Type: enhancement | Status: assigned
Priority: normal | Milestone: 3.0
Component: Taxonomy | Version:
Severity: normal | Keywords: needs-patch
-------------------------+--------------------------------------------------
Changes (by dd32):
* keywords: has-patch => needs-patch
Comment:
After looking at this closer, I think a single function is going the wrong
way.
{{{unregister_taxonomy()}}} should remove the taxonomy all together, and
cleanup any query vars which it may've registered
{{{unregister_taxonomy_for_object_type()}}} should remove a object type
from a taxonomy.
While we're at it, the Documentation for {{{register_taxonomy()}}}
probably needs updating, IT doesnt modify taxonomies, It mearly replaces
them..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11058#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list