[wp-trac] [WordPress Trac] #9345: wp_update_term - Check return
from get_term in case it's a WP Error
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 16 10:38:53 GMT 2009
#9345: wp_update_term - Check return from get_term in case it's a WP Error
---------------------------+------------------------------------------------
Reporter: simonwheatley | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Taxonomy | Version:
Severity: normal | Keywords:
---------------------------+------------------------------------------------
Currently the code in wp_update_term doesn't check the returned term from
get_term, which could be a WP_Error object. add_magic_quotes on the next
line doesn't like WP_Error objects.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9345>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list