[wp-trac] [WordPress Trac] #31624: $wpdb->prepare() named placeholders

WordPress Trac noreply at wordpress.org
Tue Mar 17 12:27:46 UTC 2015


#31624: $wpdb->prepare() named placeholders
-------------------------+------------------------------
 Reporter:  ozthegreat   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Database     |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by ozthegreat):

 That patch doesn't quite work, didn't realise that insert() and delete()
 pass associative arrays to prepare() by default. This is inconsistent with
 some of the other methods. Will review and submit an update patch shortly.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31624#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list