Revert [35639] pending investigation into failures on PHP 5.2.

See #19455

Built from https://develop.svn.wordpress.org/trunk@35641


git-svn-id: http://core.svn.wordpress.org/trunk@35605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2015-11-16 00:54:28 +00:00
parent 3783e497c6
commit 43bc6dc931
3 changed files with 2 additions and 4 deletions

View File

@ -603,9 +603,6 @@ function wp_magic_quotes() {
$_COOKIE = stripslashes_deep( $_COOKIE ); $_COOKIE = stripslashes_deep( $_COOKIE );
} }
// Turn off sybase quoting after stripslashes has run
@ini_set( 'magic_quotes_sybase', 0 );
// Escape with wpdb. // Escape with wpdb.
$_GET = add_magic_quotes( $_GET ); $_GET = add_magic_quotes( $_GET );
$_POST = add_magic_quotes( $_POST ); $_POST = add_magic_quotes( $_POST );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.4-beta4-35640'; $wp_version = '4.4-beta4-35641';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -46,6 +46,7 @@ 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.
@ini_set( 'magic_quotes_runtime', 0 ); @ini_set( 'magic_quotes_runtime', 0 );
@ini_set( 'magic_quotes_sybase', 0 );
// WordPress calculates offsets from UTC. // WordPress calculates offsets from UTC.
date_default_timezone_set( 'UTC' ); date_default_timezone_set( 'UTC' );