[wp-trac] [WordPress Trac] #14572: post_author_meta_box causes fatal error on site with large userbase.

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 6 09:42:21 UTC 2010


#14572: post_author_meta_box causes fatal error on site with large userbase.
----------------------------+-----------------------------------------------
 Reporter:  tomdebruin      |       Owner:  scribu          
     Type:  defect (bug)    |      Status:  assigned        
 Priority:  normal          |   Milestone:  3.1             
Component:  Administration  |     Version:  3.0.1           
 Severity:  normal          |    Keywords:  needs-patch gsoc
----------------------------+-----------------------------------------------

Comment(by scribu):

 > in _wp_meta_sql(), there's no way for the logic to result in multiple
 $clauses

 There is, when querying a role and an other arbitrary meta_key=>meta_value
 pair.

 However, yeah, I should drop the CASE statement if there's only one
 clause.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14572#comment:27>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list