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

WordPress Trac noreply at wordpress.org
Fri Dec 21 09:37:14 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 DigiproveDevelopment):

 Replying to [comment:16 knutsp]:
 > If warnings (or errors or notices) are displayed on a production site,
 then the server setup is wrong and possibly vulnerable. If you have some
 plugins the chance of getting some warnings is quite high, but end users
 seldom sees them, so these extra warnings doesn't change anything. It's
 not about "hitting" users with warnings, as the warnings will go to the
 error_log or displayed in the debug bar (plugin), where any developer
 should look.
 >
 It's a matter of opinion whether production sites should not be displaying
 warnings.  However as plugin authors we are not in control of this, and
 the fact is there are very many sites that do display warnings.

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


More information about the wp-trac mailing list