[wp-trac] [WordPress Trac] #33483: Logic error in wp_delete_term
WordPress Trac
noreply at wordpress.org
Fri Aug 21 13:43:35 UTC 2015
#33483: Logic error in wp_delete_term
--------------------------+----------------------
Reporter: ipm-frommen | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Taxonomy | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
--------------------------+----------------------
Changes (by swissspidy):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
`$args` is never used later in the function. However, there are several
`isset( $default)` checks. So unsetting `$default` in case a term doesn't
exist makes sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33483#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list