Ticket #19455: 19455.2.patch
File 19455.2.patch, 932 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/load.php
590 590 $_COOKIE = stripslashes_deep( $_COOKIE ); 591 591 } 592 592 593 // Turn off sybase quoting after stripslashes has run 594 @ini_set( 'magic_quotes_sybase', 0 ); 595 593 596 // Escape with wpdb. 594 597 $_GET = add_magic_quotes( $_GET ); 595 598 $_POST = add_magic_quotes( $_POST ); -
src/wp-settings.php
37 37 38 38 // Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php. 39 39 @ini_set( 'magic_quotes_runtime', 0 ); 40 @ini_set( 'magic_quotes_sybase', 0 );41 40 42 41 // WordPress calculates offsets from UTC. 43 42 date_default_timezone_set( 'UTC' );