[wp-trac] [WordPress Trac] #22873: Consider moving to a notice for $wpdb->prepare in 3.5.1

WordPress Trac noreply at wordpress.org
Wed Dec 12 22:33:56 UTC 2012


#22873: Consider moving to a notice for $wpdb->prepare in 3.5.1
------------------------------+--------------------
 Reporter:  nacin             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  low               |   Milestone:  3.5.1
Component:  Warnings/Notices  |     Version:  3.5
 Severity:  minor             |  Resolution:
 Keywords:  has-patch         |
------------------------------+--------------------

Comment (by aaroncampbell):

 [attachment:22873.diff] is based off what we talked about in
 [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2012-12-12&sort=asc#m518263 dev chat].  Basically it switches to
 using _doing_it_wrong(), but modifies _doing_it_wrong() to throw an error
 when on alpha, a warning when on beta, and a notice otherwise.

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


More information about the wp-trac mailing list