﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
22334,Fix: change default WP_DEBUG on localhost,DavidAnderson,,"I propose changing the default WP_DEBUG in wp-config-sample.php and in WordPress-generated config files to:

define('WP_DEBUG', ($_SERVER\['SERVER_NAME'\] == ""localhost"" ? true : false ));

This is surely a better default than at present:
* Sites on localhost are usually development sites, where WP_DEBUG should be on
* This will save some developers from having to change the setting as they move between live and development; it will work well in both",enhancement,closed,normal,,General,,normal,wontfix,,
