[wp-trac] [WordPress Trac] #11799: WPDB code improvements
WordPress Trac
wp-trac at lists.automattic.com
Thu Jan 7 09:59:23 UTC 2010
#11799: WPDB code improvements
-------------------------+--------------------------------------------------
Reporter: hakre | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: 3.0
Component: Database | Version: 3.0
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
While taking care about various places over the past weeks I somehow
returned back more and more often to WPDB starting to beautify and
refactor the code in there.
I create this ticket now to collect changes on wpdb to improve the code.
Related:
* #6836 - Prepare queries using INSERT/UPDATE should use wpdb::insert()
or wpdb::update()
* #7171 - wpdb::insert() & wpdb::update() need to allow typecasting of
params.
* #11318 - $wpdb->prepare() Chokes on single literal percentage chars?
* #11372 - wpdb::query returns FALSE on TRUNCATE
* #11605 - wpdb::_weak_escape() is an alias to addslashes only
* #11608 - wpdb->prepare() is broken
* #11649 - Upgrades Fail Because of [11883]
The two most important things while I rewrite some parts of WPDB is code
duplication and massive memory leaks in that class.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11799>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list