[wp-trac] [WordPress Trac] #11443: Unnecessary has_cap checks for MySQL 4.1

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 15 23:25:36 UTC 2009


#11443: Unnecessary has_cap checks for MySQL 4.1
------------------------------------+---------------------------------------
 Reporter:  filosofo                |        Owner:  ryan    
     Type:  defect (bug)            |       Status:  reopened
 Priority:  normal                  |    Milestone:  2.9     
Component:  Database                |      Version:  2.9     
 Severity:  normal                  |   Resolution:          
 Keywords:  has_cap wpdb has-patch  |  
------------------------------------+---------------------------------------

Comment(by filosofo):

 For what it's worth, there are only 2 has_cap checks relevant to wpdb
 drop-ins (in wp-includes/query.php), and they both use what I believe is
 pretty standard SQL subquery syntax.

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


More information about the wp-trac mailing list