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

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 29 12:23:48 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:  reporter-feedback
--------------------------+-------------------------------------------------

Comment(by hakre):

 I've updated the patch (and testfile). Now properly boundary checked and
 Notice free.

 A minor change has been made to WPDB->print_error() to reflect cases where
 there is no last_query parameter to prevent misleading output.

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


More information about the wp-trac mailing list