Suggestion – avoid false error message in HTTPS installs
-
I have a WordPress install which runs entirely in HTTPS.
I noticed that, if I try to import a table from the Media Library, simply copying and pasting the link, I receive an error:Error: The source for the import is invalid or could not be accessed
I also noticed that, if I change the scheme in this link from https to http, the importing works right. So, that error message is, in fact, a false error message.
When I faced this “problem” for the first time, I thought this feature was not working, and I could only use the directory path to indicate where my spreadsheet was.
On the other hand, my boss has thought that the plugin had a bug!My suggestion is: why not treat this input data, via PHP, simply substituting the request scheme https by http? It would avoid a lot of confusion, when importing tables.
The topic ‘Suggestion – avoid false error message in HTTPS installs’ is closed to new replies.