mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Improve function naming for plugin file discovery functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@13064 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -374,7 +374,7 @@ function wp_not_installed() {
|
||||
* @since 3.0.0
|
||||
* @return array Files to include
|
||||
*/
|
||||
function wp_load_mu_plugins() {
|
||||
function wp_get_mu_plugins() {
|
||||
$mu_plugins = array();
|
||||
if ( !is_dir( WPMU_PLUGIN_DIR ) )
|
||||
return $mu_plugins;
|
||||
@@ -401,7 +401,7 @@ function wp_load_mu_plugins() {
|
||||
* @since 3.0.0
|
||||
* @return array Files to include
|
||||
*/
|
||||
function wp_load_plugins() {
|
||||
function wp_get_active_and_valid_plugins() {
|
||||
$plugins = array();
|
||||
$active_plugins = (array) get_option( 'active_plugins', array() );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user