[wp-trac] Re: [WordPress Trac] #9308: Plugins easily break wp-db.php - one line patch fixes the problem

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 10 10:48:44 GMT 2009


#9308: Plugins easily break wp-db.php - one line patch fixes the problem
---------------------------------------------+------------------------------
 Reporter:  mark8barnes                      |        Owner:  anonymous
     Type:  defect (bug)                     |       Status:  closed   
 Priority:  normal                           |    Milestone:           
Component:  General                          |      Version:  2.7.1    
 Severity:  normal                           |   Resolution:  invalid  
 Keywords:  wp-db, has-patch, needs-testing  |  
---------------------------------------------+------------------------------
Changes (by DD32):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  2.7.2 =>


Comment:

 The solution here is for the badly coded plugin to be fixed.

 Reselecting the database before every query is quite possibly a very
 expensive task, Its basically an extra query, with blogs varying from 10
 to 100 queries per page load..

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


More information about the wp-trac mailing list