Changes from trunk/wp-settings.php at r8211 to branches/2.6/wp-settings.php at r8566
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/wp-settings.php
r8211 r8566 69 69 else 70 70 { 71 // Use ORIG_PATH_INFO if there is no PATH_INFO 72 if ( !isset($_SERVER['PATH_INFO']) && isset($_SERVER['ORIG_PATH_INFO']) ) 73 $_SERVER['PATH_INFO'] = $_SERVER['ORIG_PATH_INFO']; 74 71 75 // Some IIS + PHP configurations puts the script-name in the path-info (No need to append it twice) 72 76 if ( isset($_SERVER['PATH_INFO']) ) { … … 418 422 if ( is_array($current_plugins) ) { 419 423 foreach ($current_plugins as $plugin) { 420 if ( '' != $plugin && file_exists(WP_PLUGIN_DIR . '/' . $plugin))424 if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) ) 421 425 include_once(WP_PLUGIN_DIR . '/' . $plugin); 422 426 }
Note: See TracChangeset
for help on using the changeset viewer.