In case any poor soul runs in to something similar, I’ve found the problem:
define('WP_DEBUG', false);
Running debug mode (as I do on all dev sites), was throwing a warning, but it was being returned in the ‘admin-ajax.php’ which was preventing the images from showing/uploading and returning the appropriate values etc.
I cannot believe the answer to debugging was to stop debugging. Jesus.
I’m away to file a bug report now.
Related Posts:
- Uploading Images to Media Library via wp_handle_sideload() fails
- How to upload an image in the plugin’s options page
- Share media among different domains
- Media_handle_upload with custom upload folder?
- Organize media uploads in folders – I have a physical access to (my) server
- Create a User Role with permissions to only upload files to the media library?
- Is it possible to share WordPress media files among different domains?
- Media attachment date and post date
- Uploads folder only showing files up to the letter “P”
- How to Protect Uploads, if User is not Logged In?
- Change the default-view of Media Library in 3.5?
- Get All Images in Media Gallery?
- How to Fix HTTP Error When Uploading Images?
- Trigger refresh for new media manager in 3.5
- Physical organization of wordpress media library (Real Media Library plugin)
- How do I select an image from Media Library in my plugin?
- Media Library plugins for better file management? [closed]
- Extend Media Library
- Upload Multiple Files With media_handle_upload
- WordPress 3.5: Setting custom “full URL path to files” in the Media Library?
- How to add subfolders in media library for better organisation?
- How to display .ico files in the media library
- Upload images to remote server
- List of available events for wp.media
- How to delete resized (cropped) image uploads and prevent future resizing?
- How to show all available images in WP’s media library when using the Polylang plugin?
- Checking if a file is already in the Media Library
- Give users a maximum upload capacity; limit the number of files a user can upload OR limit the number of files per upload
- Media upload finished hook
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Users can’t upload images on frontend if they haven’t got access to the wp backend
- How can I batch delete all unattached images with WP-CLI or other automated process?
- Which filters or actions to use after a media upload and delete?
- Custom “Uploads” Dir: “Edit Image” in Media Library broken
- print_media_templates not applied in media manager plugin
- Media not actually deleted on disk when click “Permanent Delete”
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- How to wp_upload_bits() to a sub-folder?
- WordPress 3.5 attachment_fields_to_edit and media_send_to_editor
- Bind event on Media gallery elements WordPress
- How to get attachment id as soon as it is uploaded through media uploader in jquery?
- Change Media Uploader default directory
- How to restrict images in v3.5 Media Library modal to only those from a specific post id?
- How to hide media uploads by other users in the Media menu?
- How to get the image EXIF date/time and use it for the WP post date/time
- image_size_names_choose filter doesn’t show
- Add class=”media_type” when media is inserted into editor
- “Add Media” only shows “Full Size” under Attachment Display Settings
- Where do the favicons for Media Files come from
- WP 3.5 media manager – how to create a working gallery frame
- What might cause a POST to wp-admin/async-upload.php to return JSON >and< HTML?
- Limit Media Library to Given Folder
- Is it possible to trigger some JavaScript when Media Popup is opened?
- How to call WP3.5 Media Library manager?
- Disable media library tab for non admins in uploader screen
- Creating a metabox to upload multiple images, Ignoring The Featured Image
- How do I ‘rebuild’ the WordPress Media library after transfer to new host?
- media_sideload_image file name?
- How to force Media manager to overwrite files of same name?
- Proper way to hook wp_get_attachment_url or any other way to change that url in media library
- How to register images uploaded via FTP in media library?
- How can I list URLs of all audio files within my media gallery?
- How to upload images manually to wordpress?
- Migrating to HTTPS only, most media library links need updating?
- Why are double-periods (“..”) invalid in a WordPress image filename?
- How can I speed up a slow loading media library?
- Failing to open advanced-cache.php which is breaking Media Library
- Password protect some uploaded files, so only logged-in users can view them
- Attach Files Metabox
- What to do with unattached logos and header uploaded via native wordpress uploader?
- How to protect uploads in multisite if user is not logged in?
- Way to force media uploader use custom image size
- Filter pictures in the media library [closed]
- WP 3.5 media uploader API set selected item
- How to hide CPT files from media library programmatically
- Is there a way to delete images from the Media Library programatically?
- Add file name column to media library
- Append button to WordPress Image Details modal
- Add metabox with media uploader in a custom post type [duplicate]
- Change URLs for static content
- Downloadable Documents
- uploading files to the uploads folder via ftp
- Add item to media library from blob or dataUrl
- Saving Custom Field in Attachment Window in WordPress 3.5
- Remove the columns in media library
- Is there a way to specify the tab to display when the Media Uploader is displayed?
- Ignore a filter on the media library
- How to add ‘Attachment Display Settings’ in custom Media Library?
- How to save attachment data?
- add_image_size creating lots of images (of various sizes)
- Using WordPress as a document library
- how does wp.media javascript library work?
- Image width tag is less than the image pixel width – why?
- How to get the image url in the input box from media library?
- Register an additional image size for only some images in my media library
- How to enlarge thickbox media library iframe?
- Making Media Library “Alternative Text” Field Required
- How to modify Media Library images
- Remove upload_files capability from a role but allow role to manage an avatar image
- WordPress 3.5 Media Manager – Reorder Selectbox items on Media Library Tab [duplicate]