Changeset 2448
- Timestamp:
- 06/28/2010 07:24:26 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
bb-includes/functions.bb-meta.php (modified) (1 diff)
-
bb-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-meta.php
r2447 r2448 298 298 break; 299 299 case 'version': 300 return '1.1-alpha-244 7'; // Don't filter300 return '1.1-alpha-2448'; // Don't filter 301 301 break; 302 302 case 'bb_db_version' : -
trunk/bb-settings.php
r2412 r2448 480 480 require_once( BB_PATH . BB_INC . 'functions.bb-script-loader.php' ); 481 481 482 // Sanitise external input 483 $_GET = bb_global_sanitize( $_GET ); 484 $_POST = bb_global_sanitize( $_POST ); 485 $_COOKIE = bb_global_sanitize( $_COOKIE, false ); 486 $_SERVER = bb_global_sanitize( $_SERVER ); 487 482 /* Check if the globals have been sanitized by WordPress or not (else there would be extra slashes while deep integration) */ 483 if ( !function_exists( 'wp_magic_quotes' ) ) { 484 // Sanitise external input 485 $_GET = bb_global_sanitize( $_GET ); 486 $_POST = bb_global_sanitize( $_POST ); 487 $_COOKIE = bb_global_sanitize( $_COOKIE, false ); 488 $_SERVER = bb_global_sanitize( $_SERVER ); 489 } 488 490 489 491
Note: See TracChangeset
for help on using the changeset viewer.