That’s the pre-3.5 media interface so I think you must be on 3.4.x? Anyway the first way should work as long as you’re using the browser (non-multifile) upload… try changing
add_filter( 'flash_uploader', '_force_html_uploader' );
to
add_action( 'pre-html-upload-ui', '_force_html_uploader' );
and the “js/upload.js” (note the subdirectory – it’s expected to be in a “js” subdirectory of your theme directory) to
jQuery(document).ready(function(){
if (typeof 'switchUploader' === 'function') switchUploader(1);
if(jQuery(".savesend input")){
jQuery(".savesend input").click();
}
});
Neither change is that important, they just ensure your using the browser upload – which is important. The (other) important thing is that “js/upload.js” gets loaded (you can check it’s being loaded by inspecting the frame source).
Related Posts:
- Upload path/URL weirdness for the main blog of a multisite/network setup
- Organize uploaded media files
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- How to stop unlink images when remove a site or user
- Multisite media library uploads broken images
- Multisite – Images often getting uploaded to the wrong month directory
- Copying media from multisite subsites to main website
- Where to set individual blog quotas?
- New wordpress uploads are broken
- Multi site and media uploader
- Specific upload folder for PDFs in custom Post type in WP multisite
- Get upload URL by blog ID in multisite
- Multisite stuck at 1MB for max file size
- Which asset URLs are acceptable in a “vanilla” MU install?
- Can upload doc and pdf but not ppt – not permitted for security reasons
- Listing of all uploaded files in network sites
- Using one media library for a multisite network with WordPress 3.5 media library
- Turn off ms-files.php after network setup
- How can I have network sites not use year/month folders by default?
- How to upload images manually to wordpress?
- Sharding BLOGUPLOADDIR
- Advanced Custom Fields Multisite Upload/Imagery Issue [closed]
- How to make WordPress use new Upload Path settings in Multisite Setup
- Hook filter to change wp_upload_dir() path in multisite
- Shared upload folder in wordpress multisite
- Protect Uploads in Multisite
- .epub file blocked despite ALLOW_UNFILTERED_UPLOADS set to true
- How to get max upload size and accepted file types on multisite?
- WordPress Media mime type filter problem 4.0
- Force Uploads Use Yearmonth to off (0) for all existing sites in Multisites
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- Fixing media links after importing to multisite
- Images uploading to wrong directory after changing to multisite
- Media library not loading after switching the main site of multisite
- wordpress multisite subsite rewrite rules not working for videos
- Upload images from one site to another in Multisite
- Changing path for media upload folder in wordpress multisite
- Image problem – Multisite image upload broken
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Upload file type not permitted even if explicitly registered as upload_filetypes in the db (multisite)
- Where does multisite store image uploads?
- Error uploading files bigger than 58 MB
- WP doesn’t remove uploads from folder when removed from “Media Library”?
- Problem uploading images
- ‘Cheatin’ uh?’ Error When Attempting to Upload Images After 3.4 Update
- How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
- Merge Multisites with Shared Network Media Library
- My Media Library is broken across all my subsites
- Show media-frame-menu on custom Media Frame
- How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite
- Multisite sub-directories IIS 7.5 change media/uploads location
- Make uploads live outside of the WP folder
- Save uploads directly in the uploads folder (on a multisite)
- Multisite adjust uploads like (/upload/%alphanumeric_id%/%file_type%/%blog_ID%)
- Can I use the same Folder name as a Multisite Blog?
- Hiding media uploaded by other users in wordpress multisite?
- Multisite missing tmp folder error while uploading
- unable to write to the database while uploading images
- How to migrate post media from stand-alone to multisite build
- Multisite subdirecty added inside URL to uploaded files
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- Remove multisite part from wordpress multisite upload directory
- Load media from another URL on a multisite install
- How to set upload path after renaming uploads folder in Multisite?
- Shared upload folder in wordpress multisite with custom sub site domain pictures URL:s
- Admin Ajax returns “0 200 OK server error..” in Multi-site sub-site
- Showing All Media from All Multisites
- WordPress Multisite subdomains and sharing the same upload folder
- Primary site file uploads failing, subdirectory subsites upload fine
- MP4 upload ok, but HTTP500 if I update the file (multisite)
- How to disable a network enabled plugin for just one site?
- Set limit to media upload?
- Multisite: Develop locally using production images with .htaccess
- Trigger JS when featured image upload window is opened in admin
- How to prevent hotlinking with htaccess in WordPress and why most common use about it doesn’t work?
- Multisite use language code as subdirectory
- Saving WordPress generated thumbnails in a subdirectory
- WordPress (+WPMU) Import/Export ALL settings?
- Has WP and MU fully merged?
- Migrate a WP website from a single-server single-domain to a multi-server multi-domain installation
- current_user_can() always returns true if user is super admin
- Displaying a message upon user registration
- ReWriteRules and WordPress Multi-Sites with Sub Directories
- ‘An error occurred in the upload. Please try again later.’ for users with different roles
- Ho to add “Create Slider” option to default “Add Media” popup?
- WordPress: how to change URL for individual MultiSites?
- Enable “My blogs” in a custom installation
- HTTPS Warning and Certificate Error when Updating Network
- Complex WordPress Website
- Create sub-domain for multisite and multi languages?
- how to have __() translating in languages different from admin?
- How to temporarily redirect front page of a network to one of the sites/blogs?
- how to control display switch_to_blog( $subsite->blog_id ); $tags = wp_tag_cloud
- WordPress multisite with domains and subdomains
- Sort posts according to date
- Forward and mask a WordPress website
- How to automatically create an index of child sites at the root url for a multisite installation?
- How to allow mixed case characters in multisite site name?
- How To Change the URL of a WordPress Multisite
- Subdomain add comment redirect to 404 not found page iis server