mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-07 09:49:04 +00:00
Turn hard-coded paths to defines. Pull gettext includes int wp-settings. Props mdawaffe. fixes #3157
git-svn-id: https://develop.svn.wordpress.org/trunk@4202 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1721,8 +1721,7 @@ function get_plugins() {
|
||||
}
|
||||
|
||||
$wp_plugins = array ();
|
||||
$plugin_loc = 'wp-content/plugins';
|
||||
$plugin_root = ABSPATH.$plugin_loc;
|
||||
$plugin_root = ABSPATH . PLUGINDIR;
|
||||
|
||||
// Files in wp-content/plugins directory
|
||||
$plugins_dir = @ dir($plugin_root);
|
||||
|
||||
Reference in New Issue
Block a user