[wp-trac] Re: [WordPress Trac] #2721: Add filter for wp-db query

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 1 14:14:27 GMT 2006


#2721: Add filter for wp-db query
-----------------------------------+----------------------------------------
 Reporter:  filosofo               |        Owner:  anonymous
     Type:  defect                 |       Status:  new      
 Priority:  normal                 |    Milestone:  2.1      
Component:  Administration         |      Version:  2.1      
 Severity:  normal                 |   Resolution:           
 Keywords:  wp-db has-patch query  |  
-----------------------------------+----------------------------------------
Comment (by filosofo):

 majelbstoat, I don't think your example changes the query method
 instantiated in $wpdb. The point of having a filter like the one I'm
 proposing is to change existing WordPress db requests instantiated in
 $wpdb--requests that we can't easily change through a filter or whatnot--
 not to affect new instantiations that you might use in a plugin.

 My question is how this can be done through inherited classes, as I take
 Ryan to be saying, although I think I may be misunderstanding his point.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2721>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list