Warning fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
0a8415ae7a
commit
7c3eeecb74
|
@ -103,7 +103,7 @@ if (isset($plugin_page)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allow plugins to define importers as well
|
// 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"))
|
if (! file_exists(ABSPATH . "wp-admin/import/$importer.php"))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue