Skip to content
Browse files

fixing errors that happen when no additional directories are found

  • Loading branch information...
1 parent d69eccd commit b8b3ab5af8ad1870a08588ac6a5a6f49276baa0e @chrisguitarguy committed Mar 9, 2012
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() );

0 comments on commit b8b3ab5

Please sign in to comment.
Something went wrong with that request. Please try again.