[wp-trac] [WordPress Trac] #21150: Add a way to prevent a term from being deleted

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 3 23:01:56 UTC 2012


#21150: Add a way to prevent a term from being deleted
--------------------------+------------------------------------------------
 Reporter:  wpsmith       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:
 Severity:  normal        |   Keywords:  has-patch 2nd-opinion dev-feedback
--------------------------+------------------------------------------------
 Currently, WordPress uses an option ('default_category') to prevent the
 deletion of the default WordPress category. However, someone creates a
 default term for a custom taxonomy, there is currently no easy method to
 prevent the deletion of the term.

 I propose a simple filter that would enable this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21150>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list