Imports don’t work on PHP 7.4+
-
Hi.
in file class-importer.php, the line 131:
if ( isset( $_FILES['upload']['tmp_name'] ) && ! file_exists( wp_unslash( $_FILES['upload']['tmp_name'] ) ) ) {
causes the file upload to stop with an error.
The problem is the wp_unslash() function which causes all slashes to be deleted from the file path. Therefore it always fails.
Would you pls fix it?
There is also lots of PHP warning on PHP 8.0+.
Best regards.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Imports don’t work on PHP 7.4+’ is closed to new replies.