diff -r 0f439c53f704 wp-activate.php
a
|
b
|
|
1 | 1 | <?php |
2 | 2 | define( 'WP_INSTALLING', true ); |
| 3 | // defined to let enable plugin loading ( so plugin hooks and widgets can work.. ) |
| 4 | define( 'WP_USER_ACTIVATION', true ); |
| 5 | |
3 | 6 | |
4 | 7 | /** Sets up the WordPress Environment. */ |
5 | 8 | require( dirname(__FILE__) . '/wp-load.php' ); |
diff -r 0f439c53f704 wp-includes/load.php
a
|
b
|
|
485 | 485 | _deprecated_file( 'my-hacks.php', '1.5' ); |
486 | 486 | array_unshift( $plugins, ABSPATH . 'my-hacks.php' ); |
487 | 487 | } |
488 | | |
489 | | if ( empty( $active_plugins ) || defined( 'WP_INSTALLING' ) ) |
| 488 | // if user activation, should continue loading plugins. |
| 489 | if ( empty( $active_plugins ) || ( defined( 'WP_INSTALLING' ) && !defined('WP_USER_ACTIVATION') ) ) |
490 | 490 | return $plugins; |
491 | 491 | |
492 | 492 | $network_plugins = is_multisite() ? wp_get_active_network_plugins() : false; |