[wp-trac] Re: [WordPress Trac] #8146: Quick tag/category edit appears to be using filtered data

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 13 17:45:47 GMT 2008


#8146: Quick tag/category edit appears to be using filtered data
----------------------------------------------------+-----------------------
 Reporter:  jhodgdon                                |        Owner:  anonymous
     Type:  defect                                  |       Status:  reopened 
 Priority:  normal                                  |    Milestone:  2.7      
Component:  Administration                          |      Version:  2.7      
 Severity:  normal                                  |   Resolution:           
 Keywords:  tag, category, edit, filter, has-patch  |  
----------------------------------------------------+-----------------------
Comment (by jhodgdon):

 One thought... since $qe_data does seem to be a reference to $category, I
 don't think it is actually edit-sanitized... Not sure about that, or how
 to test?

 If that is correct, it might make sense to do a sanitize_term_field(
 $filter = 'edit') call before storing that data in the hidden fields. I am
 not running into any problems, but I might not have any problematic data
 in there.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8146#comment:23>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list