mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-03 15:08:10 +01:00
Use ini_set instead of set_magic_quotes_runtime() to prevent silenced E_DEPRECATED notice. props wonderboymusic.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2bdadbcc52
commit
1fd123aa40
@ -29,7 +29,7 @@ wp_initial_constants( );
|
|||||||
wp_check_php_mysql_versions();
|
wp_check_php_mysql_versions();
|
||||||
|
|
||||||
// Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.
|
// Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php.
|
||||||
set_magic_quotes_runtime( 0 );
|
@ini_set( 'magic_quotes_runtime', 0 );
|
||||||
@ini_set( 'magic_quotes_sybase', 0 );
|
@ini_set( 'magic_quotes_sybase', 0 );
|
||||||
|
|
||||||
// Set default timezone in PHP 5.
|
// Set default timezone in PHP 5.
|
||||||
|
Loading…
Reference in New Issue
Block a user