Changeset 27158 for trunk/src/wp-settings.php
- Timestamp:
- 02/10/2014 10:59:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r26997 r27158 165 165 wp_plugin_directory_constants(); 166 166 167 $GLOBALS['wp_plugin_paths'] = array(); 168 167 169 // Load must-use plugins. 168 170 foreach ( wp_get_mu_plugins() as $mu_plugin ) { 171 wp_register_plugin_realpath( $mu_plugin ); 169 172 include_once( $mu_plugin ); 170 173 } … … 174 177 if ( is_multisite() ) { 175 178 foreach( wp_get_active_network_plugins() as $network_plugin ) { 179 wp_register_plugin_realpath( $network_plugin ); 176 180 include_once( $network_plugin ); 177 181 } … … 207 211 208 212 // Load active plugins. 209 foreach ( wp_get_active_and_valid_plugins() as $plugin ) 213 foreach ( wp_get_active_and_valid_plugins() as $plugin ) { 214 wp_register_plugin_realpath( $plugin ); 210 215 include_once( $plugin ); 216 } 211 217 unset( $plugin ); 212 218
Note: See TracChangeset
for help on using the changeset viewer.