Closed boonebgorges closed 1 year ago
I've put a check in place that hides the interface. I'm still having problems in my local tests, as TTRSS appears to output an OPML file that has the text/xml
MIME type, while WP expects it to be text/x-opml
. So the upload still fails. But this is a problem beyond what PF can solve, since there's no way to know before uploading whether the OPML is encoded in the way that WP expects. So this is good enough for now.
There's currently an interface for OPML upload, but on a vanilla WP installation it's not possible to upload OPML files. We should detect this, and either hide the upload interface, or grey it out and give the user instructions on how to allow OPML file uploads.