diff --git a/inc/CustomizerImporter.php b/inc/CustomizerImporter.php index 4ed5cae..be08043 100644 --- a/inc/CustomizerImporter.php +++ b/inc/CustomizerImporter.php @@ -84,7 +84,7 @@ public static function import_customizer_options( $import_file_path ) { return $raw; } - $data = unserialize( $raw ); + $data = unserialize( $raw , array( 'allowed_classes' => false ) ); // Data checks. if ( ! is_array( $data ) && ( ! isset( $data['template'] ) || ! isset( $data['mods'] ) ) ) {