[wp-trac] [WordPress Trac] #11102: $wpdb->prepare should merge all arguments to pass to vsprintf

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 8 08:59:37 UTC 2012


#11102: $wpdb->prepare should merge all arguments to pass to vsprintf
-----------------------------+-----------------------------
 Reporter:  westi            |       Owner:  westi
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Database         |     Version:  2.9
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |
-----------------------------+-----------------------------

Comment (by pento):

 Passing an array to fill an IN() clause is cute, but I'd be inclined not
 to do this. Neither mysqli nor PDO support this behaviour, which would
 just make things confusing.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11102#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list