Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing errors that happen when no additional directories are found

  • Loading branch information...
commit b8b3ab5af8ad1870a08588ac6a5a6f49276baa0e 1 parent d69eccd
@chrisguitarguy authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  inc/core.php
View
1  inc/core.php
@@ -32,6 +32,7 @@ function register_plugin_directory( $key, $dir, $label )
function cd_apd_load_more()
{
global $wp_plugin_directories;
+ if( empty( $wp_plugin_directories ) ) $wp_plugin_directories = array();
foreach( array_keys( $wp_plugin_directories) as $key )
{
$active = get_option( 'active_plugins_' . $key, array() );
Please sign in to comment.
Something went wrong with that request. Please try again.