We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cf9163 commit af13640Copy full SHA for af13640
includes/ContentImport/ImportCoordinates.php
@@ -92,7 +92,7 @@ public function parse_importers_from_request(): void {
92
$importers = array();
93
foreach ( array( INPUT_POST, INPUT_GET ) as $input_type ) {
94
if ( filter_has_var( $input_type, self::IMPORTERS_GLOBAL_KEY ) ) {
95
- $importers = filter_input( $input_type, self::IMPORTERS_GLOBAL_KEY, FILTER_FORCE_ARRAY );
+ $importers = filter_input( $input_type, self::IMPORTERS_GLOBAL_KEY, FILTER_DEFAULT, FILTER_REQUIRE_ARRAY );
96
break;
97
}
98
0 commit comments