Ticket #19455: 19455.patch
File 19455.patch, 921 bytes (added by , 13 years ago) |
---|
-
wp-settings.php
30 30 31 31 // Disable magic quotes at runtime. Magic quotes are added using wpdb later in wp-settings.php. 32 32 @ini_set( 'magic_quotes_runtime', 0 ); 33 @ini_set( 'magic_quotes_sybase', 0 );34 33 35 34 // Set default timezone in PHP 5. 36 35 if ( function_exists( 'date_default_timezone_set' ) ) -
wp-includes/load.php
533 533 $_COOKIE = stripslashes_deep( $_COOKIE ); 534 534 } 535 535 536 // Turn off sybase quoting after stripslashes has run 537 @ini_set( 'magic_quotes_sybase', 0 ); 538 536 539 // Escape with wpdb. 537 540 $_GET = add_magic_quotes( $_GET ); 538 541 $_POST = add_magic_quotes( $_POST );