Warning fixes

git-svn-id: https://develop.svn.wordpress.org/trunk@9482 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-03 00:00:59 +00:00
parent 0b0632ccf1
commit e670c2ac8e
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ if (isset($plugin_page)) {
}
// Allow plugins to define importers as well
if (! is_callable($wp_importers[$importer][2]))
if ( !isset($wp_importers) || !isset($wp_importers[$importer]) || ! is_callable($wp_importers[$importer][2]))
{
if (! file_exists(ABSPATH . "wp-admin/import/$importer.php"))
{