[wp-trac] [WordPress Trac] #22863: Missing argument 2 wp-db.php

WordPress Trac noreply at wordpress.org
Tue Dec 11 22:22:55 UTC 2012


#22863: Missing argument 2  wp-db.php
--------------------------+----------------------
 Reporter:  lisaraquelle  |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Database      |     Version:  3.5
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------
Changes (by wonderboymusic):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 This is going to bite a lot of people, but it is expected behavior now. If
 you pass only a string to `$wpdb->prepare`, nothing happens anyway, so
 this is alerting you to that. You must pass additional replacement
 arguments.

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


More information about the wp-trac mailing list