mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Use array storage for plugins list.
git-svn-id: https://develop.svn.wordpress.org/trunk@1522 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ if (get_settings('hack_file')) {
|
||||
}
|
||||
|
||||
if ( get_settings('active_plugins') ) {
|
||||
$current_plugins = explode("\n", get_settings('active_plugins') );
|
||||
$current_plugins = get_settings('active_plugins');
|
||||
foreach ($current_plugins as $plugin) {
|
||||
if (file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
|
||||
include(ABSPATH . 'wp-content/plugins/' . $plugin);
|
||||
|
||||
Reference in New Issue
Block a user