Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update inc/admin.php

  • Loading branch information...
commit 9972cd8da958437f61bfe67d7745ae1ab69bc88c 1 parent c588fa0
@julien-c julien-c authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  inc/admin.php
View
1  inc/admin.php
@@ -182,6 +182,7 @@ function scripts()
function get_plugins()
{
global $wp_plugin_directories;
+ if( empty( $wp_plugin_directories ) ) $wp_plugin_directories = array();
foreach( array_keys( $wp_plugin_directories ) as $key )
{
$this->plugins[$key] = cd_apd_get_plugins( $key );
Please sign in to comment.
Something went wrong with that request. Please try again.