mcnasby
Forum Replies Created
-
Forum: Plugins
In reply to: [JSON API] Menus CategoriesIf you’re looking to get a menu listing that you’ve created in WP Admin, then you’re in luck. Check out this custom controller I put together to get a simple menu listing via the API: https://github.com/mcnasby/wp-json-api-menu-controller
Forum: Plugins
In reply to: [Frontend Uploader] [Plugin: Frontend Uploader] Can't upload in IE8Glad to help! Thank you for making this excellent plugin. It was exactly what I was looking for.
Forum: Plugins
In reply to: [Frontend Uploader] [Plugin: Frontend Uploader] Can't upload in IE8So it looks like the issue was because of the two IE specific MIME types (pjpeg & x-png)… I seem to have figured out an interim solution to the issue:
Open frontend-uploader.php
Add this code after line 115
$ie_mimes = array( 'image/pjpeg','image/x-png');Update line 118 from:
if ( in_array( $k['type'], $this->allowed_mime_types ) ) {to this:
if ( in_array( $k['type'], $this->allowed_mime_types ) || in_array( $k['type'], $ie_mimes) ) {Hope that helps!
Forum: Plugins
In reply to: [Frontend Uploader] [Plugin: Frontend Uploader] Can't upload in IE8I also haven’t been able to get the single upload form to work with this plugin. I’m simply using the [fu-upload-form] short code. Does IE8 change the MIME type on upload or might it be something else?