Remove debug.

git-svn-id: http://svn.automattic.com/wordpress/trunk@14363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-03 07:12:26 +00:00
parent a4d7fcdbf8
commit c5af6664a6
2 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ define('WP_SETUP_CONFIG', true);
*
* Set this to error_reporting( E_ALL ) or error_reporting( E_ALL | E_STRICT ) for debugging
*/
error_reporting(E_ALL &~ E_DEPRECATED);
error_reporting(0);
/**#@+
* These three defines are required to allow us to use require_wp_db() to load

View File

@ -89,7 +89,7 @@ class WP_Http {
static $working_transport, $blocking_transport, $nonblocking_transport;
if ( is_null($working_transport) ) {
/* if ( true === WP_Http_ExtHttp::test($args) ) {
if ( true === WP_Http_ExtHttp::test($args) ) {
$working_transport['exthttp'] = new WP_Http_ExtHttp();
$blocking_transport[] = &$working_transport['exthttp'];
} else if ( true === WP_Http_Curl::test($args) ) {
@ -101,7 +101,7 @@ class WP_Http {
} else if ( true === WP_Http_Fopen::test($args) ) {
$working_transport['fopen'] = new WP_Http_Fopen();
$blocking_transport[] = &$working_transport['fopen'];
} else */ if ( true === WP_Http_Fsockopen::test($args) ) {
} else if ( true === WP_Http_Fsockopen::test($args) ) {
$working_transport['fsockopen'] = new WP_Http_Fsockopen();
$blocking_transport[] = &$working_transport['fsockopen'];
}