Make WordPress Core


Ignore:
Timestamp:
02/02/2010 09:41:17 PM (15 years ago)
Author:
ryan
Message:

Cleanup network plugin loading. Props nacin. see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r12900 r12930  
    19331933add_filter( 'site_option_welcome_user_email', 'welcome_user_msg_filter' );
    19341934
    1935 function mu_filter_plugins_list( $active_plugins ) {
    1936     $active_sitewide_plugins = get_site_option( 'active_sitewide_plugins' );
    1937 
    1938     if ( !$active_sitewide_plugins )
    1939         return $active_plugins;
    1940 
    1941     $plugins = array_merge( (array) $active_plugins, array_keys( (array) $active_sitewide_plugins ) );
    1942     sort( $plugins );
    1943     return $plugins;
    1944 }
    1945 add_filter( 'active_plugins', 'mu_filter_plugins_list' );
    1946 
    1947  /**
     1935/**
    19481936 * Whether to force SSL on content.
    19491937 *
Note: See TracChangeset for help on using the changeset viewer.