[wp-trac] [WordPress Trac] #6836: Prepare queries using INSERT/UPDATE should use wpdb::insert() or wpdb::update()
WordPress Trac
wp-trac at lists.automattic.com
Sun Dec 27 09:52:49 UTC 2009
#6836: Prepare queries using INSERT/UPDATE should use wpdb::insert() or
wpdb::update()
----------------------------+-----------------------------------------------
Reporter: DD32 | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Administration | Version: 2.6
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
Changes (by dd32):
* keywords: needs-patch => has-patch
* milestone: Future Release => 3.0
Comment:
> attachment 6836.6.diff added
Adds the final few UPDATE/INSERT conversions that are not using complex
SQL.
Most of the last areas that use it is {{{wp-admin/includes/upgrade.php}}}
which i've been avoiding as i'm not going to be able to test the changes
properly there.. So i'm tempted to leave that code be for now while its in
working condition, Its prepare()'d, just not update()'d
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6836#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list