Changeset 10624
- Timestamp:
- 02/22/2009 08:30:12 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-settings.php
r10584 r10624 463 463 464 464 // Check for hacks file if the option is enabled 465 if ( get_option('hack_file')) {466 if ( file_exists(ABSPATH . 'my-hacks.php'))465 if ( get_option('hack_file') ) { 466 if ( file_exists(ABSPATH . 'my-hacks.php') ) 467 467 require(ABSPATH . 'my-hacks.php'); 468 468 } … … 471 471 $current_plugins = get_option('active_plugins'); 472 472 if ( is_array($current_plugins) ) { 473 foreach ( $current_plugins as $plugin) {473 foreach ( $current_plugins as $plugin ) { 474 474 if ( '' != $plugin && 0 == validate_file($plugin) && file_exists(WP_PLUGIN_DIR . '/' . $plugin) ) 475 475 include_once(WP_PLUGIN_DIR . '/' . $plugin); 476 476 } 477 unset($plugin); 477 478 } 478 479 }
Note: See TracChangeset
for help on using the changeset viewer.