[wp-trac] Re: [WordPress Trac] #2721: Add filter for wp-db query
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 25 01:09:28 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 ryan):
A number of queries are run before plugins are loaded. The options table
is hit several times, for example. Those queries couldn't be altered by a
plugin. This reduces the utility of a filter a bit. A filter might still
be worthwhile, but most folks who want to tweak wp-db create a new db
class that inherits from wpdb and replaces methods it wants to change.
--
Ticket URL: <http://trac.wordpress.org/ticket/2721>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list