mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
Remove fix_actve_plugins(). Props hakre. fixes #11750
git-svn-id: https://develop.svn.wordpress.org/trunk@12848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -404,7 +404,7 @@ function wp_plugins_to_load() {
|
||||
if ( get_option( 'hack_file' ) && file_exists( ABSPATH . 'my-hacks.php' ) )
|
||||
$plugins[] = ABSPATH . 'my-hacks.php';
|
||||
|
||||
$active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) );
|
||||
$active_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins', array() ) );
|
||||
if ( !is_array( $active_plugins ) || defined( 'WP_INSTALLING' ) )
|
||||
return $plugins;
|
||||
foreach ( $active_plugins as $plugin ) {
|
||||
|
||||
Reference in New Issue
Block a user