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

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 29 22:28:17 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
--------------------------+-------------------------------------------------

Comment(by westi):

 I think we need to be pragmatic here.

 If we need a better doc block, and I think we do, lets have one.

 I am not convinced that we need to make the function try and resolve every
 incorrect usage and try and correct every possible programmer mistake.

 The whole point of the code is that it should be simple, functional and
 fast.

 The more complexity you add the slower it is going to be.

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


More information about the wp-trac mailing list