[wp-trac] [WordPress Trac] #23069: For plugins that create custom taxonomies, wp_delete_term does not work during plugin uninstall.

WordPress Trac noreply at wordpress.org
Sun Dec 30 01:06:08 UTC 2012


#23069: For plugins that create custom taxonomies, wp_delete_term does not work
during plugin uninstall.
--------------------------+------------------------------
 Reporter:  sscovil       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  3.5
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 The workaround is probably to re-register the taxonomy in `uninstall.php`
 before calling `wp_delete_term()`.

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


More information about the wp-trac mailing list