[wp-trac] [WordPress Trac] #11608: wpdb->prepare() is broken

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 25 16:42:34 UTC 2009


#11608: wpdb->prepare() is broken
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:  ryan                  
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  3.0                   
Component:  Database      |     Version:  2.9                   
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by miqrogroove):

 > new function prepare2() which will use PDO-like syntax

 If you're going to re-invent the wheel, query parsing seems like a bad
 approach in general, and that particular syntax improvement offers very
 marginal benefit above the needed documentation.

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


More information about the wp-trac mailing list