[wp-trac] [WordPress Trac] #11058: Add unregister_taxonomy()

WordPress Trac noreply at wordpress.org
Tue Aug 27 21:45:19 UTC 2013


#11058: Add unregister_taxonomy()
-------------------------------------------------+-------------------------
 Reporter:  scribu                               |       Owner:
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  3.7
Component:  Taxonomy                             |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by leewillis77):

 I am using this on at least one production site where a core taxonomy
 (category) is unregistered from page, and post_tag is unregistered from
 post without any significant issues, as per
 http://core.trac.wordpress.org/ticket/11058#comment:28

 That's not to say it couldn't use broader testing, but there seem to be a
 few people here also using it as-is.

 I've updated the patch to include some basic unit tests for discussion -
 are they sufficient - or would you expect the tests to be validating the
 contents of $wp_taxonomies as well as checking True/False return vals?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/11058#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list