upload csv not working
-
Plugin version 1.7.1
To recreate, import users from a CSV file ‘directly from your PC’. Expected behavior: it will upload the users in that uploaded CSV file.
Observed behavior: it will upload the users in the test.csv file already on the server/included with the plugin.I notice the conditions set on line 932
!@is_uploaded_file($_FILES['uploadfiles']['tmp_name']))and!@file_exists( $_FILES['uploadfiles']['tmp_name'] )inimport-users-from-csv-with-meta.phpwill always resolve to false (they don’t exist/are not uploaded) if left as is.The $filename that you want for both of those functions is at
$_FILES['uploadfiles']['tmp_name'][0]https://wordpress.org/plugins/import-users-from-csv-with-meta/
The topic ‘upload csv not working’ is closed to new replies.