[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 19 19:14:04 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 wpmuguru):

 Replying to [comment:11 dd32]:
 > +1 for [attachment:22873.diff 22873.diff] from me, I like throwing
 different levels of warnings based on the environment of the user.
 >
 > I have to say however, I was surprised to see that we display Warnings
 by default when WP_DEBUG is not enabled, I was under the impression that
 we didn't for some reason..

 Some hosts are turning warnings on in the php.ini in which case in most
 instances they are always on.

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


More information about the wp-trac mailing list