Make WordPress Core


Ignore:
Timestamp:
02/12/2010 07:59:11 AM (15 years ago)
Author:
westi
Message:

Improve function naming for plugin file discovery functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r13063 r13064  
    137137
    138138// Load must-use plugins.
    139 foreach ( wp_load_mu_plugins() as $mu_plugin ) {
     139foreach ( wp_get_mu_plugins() as $mu_plugin ) {
    140140    include_once( $mu_plugin );
    141141}
     
    168168
    169169// Load active plugins.
    170 foreach ( wp_load_plugins() as $plugin )
     170foreach ( wp_get_active_and_valid_plugins() as $plugin )
    171171    include_once( $plugin );
    172172unset( $plugin );
Note: See TracChangeset for help on using the changeset viewer.