[wp-trac] [WordPress Trac] #22262: Possible invalid uses of wpdb::prepare()

WordPress Trac noreply at wordpress.org
Wed Nov 7 19:11:57 UTC 2012


#22262: Possible invalid uses of wpdb::prepare()
--------------------------+------------------
 Reporter:  xknown        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.5
Component:  Database      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by miqrogroove):

 In wp-db.php with a second parameter required, the call to isset() inside
 of prepare() is no longer required.  Removing it is an option, although it
 would cause a second PHP debug message when called with only one param.

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


More information about the wp-trac mailing list