FIX PHP Notice: Undefined variable: key

This commit is contained in:
savvasha
2019-08-21 12:13:41 +03:00
parent 62888f5371
commit 76281155f8

View File

@@ -69,7 +69,7 @@ if ( class_exists( 'WP_Importer' ) ) {
'sp_season',
);
foreach ( $preservable_metas_keys as $p ) {
$meta[ $key ] = '';
$meta[ $p ] = '';
}
foreach ( $columns as $index => $key ):