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

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 25 01:21:23 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 tested
--------------------------+-------------------------------------------------

Comment(by hakre):

 Regarding the look for a "better" implemenation, maybe it should be
 considere to actually use prepared statements? I heard, those have been
 [http://www.php.net/manual/de/mysqli.prepare.php already implemented] and
 they are working quite alright. Well this is PHP5 and therefore
 unfourtionatly not compatible with wordpress but at least I would have
 made sense to just orient on the principles which would help to implement
 that lib later on... .

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


More information about the wp-trac mailing list