Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot upload .XLS, .XLSX, or .CSV #1

Open
d4mation opened this issue Mar 14, 2017 · 1 comment
Open

Cannot upload .XLS, .XLSX, or .CSV #1

d4mation opened this issue Mar 14, 2017 · 1 comment
Labels

Comments

@d4mation
Copy link
Member

I investigated this and it appears to be a network-wide setting in this case rather than per-site. I added the necessary file types to the Network and despite all WP Core functions telling me the File Type should be allowed, it stops it from uploading.

I’m not sure what to make of this.

image

(The | are present in how Core handles that Extension)

@d4mation d4mation added the bug label Mar 14, 2017
@d4mation
Copy link
Member Author

With these settings, the following returns that it should allow the file to be uploaded:

var_dump( check_upload_mimes( array( 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ) ) );

However, it is stopped.

d4mation added a commit that referenced this issue Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant