[wp-trac] [WordPress Trac] #21150: Add a way to prevent a term from being deleted
WordPress Trac
noreply at wordpress.org
Thu Jun 27 23:04:36 UTC 2013
#21150: Add a way to prevent a term from being deleted
--------------------------+----------------------
Reporter: wpsmith | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version:
Severity: normal | Resolution: invalid
Keywords: |
--------------------------+----------------------
Comment (by maxaud):
I don't think this ticket is about having a default term set for
taxonomies.
The reason it was brought up as a solution is because the current code
only checks if it's the default term and doesn't delete if it is. It's an
incorrect approach to fix the real problem.
Essentially there should be a way to easily block the removal of any term
just by using a filter before anything happens.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21150#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list