[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 04:29:25 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  |  
-----------------------------------------+----------------------------------
Comment (by jhodgdon):

 Oh yeah, forgot to metion that the exact same query
     SELECT t.*, tt.* FROM wp_terms AS t INNER JOIN wp_term_taxonomy AS tt
 ON t.term_id = tt.term_id WHERE tt.taxonomy = 'category' AND t.term_id =
 '6' LIMIT 1

 gives the raw, unfiltered result when it is run on the full Edit page (wp-
 admin/categories.php?action=edit&cat_ID=6)

 Why would the same query in the same database give two different results,
 without having edited anything? I don't understand this. My debug
 statements printed out every single query run through $wp_db->query(), and
 there wasn't anything but those and similar SELECT queries that involved
 the wp_terms table...

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


More information about the wp-trac mailing list