Seems like core just needs a better way to handle backwards compatibility with Plupload at the WordPress level 🙂 You as a plugin developer shouldn’t have to worry about that, your usage looks fair, given that there currently is no other way to obtain that default settings array.
I’ve opened #27763 to address this and some other compatibility issues with the Plupload update. Feel free to add to the list if anything else pops up.
Related Posts:
- Get File Object from wp.Uploader
- Plupload Intergration in a meta-box?
- Trigger refresh for new media manager in 3.5
- Display attachments by ID in a wp.media frame
- retrieve custom image sizes from media uploader javascript object
- Add inline uploader to plugin option page
- WP 3.5 media manager – how to create a working gallery frame
- Refresh wp.media after ajax call
- Trigger JS when featured image upload window is opened in admin
- How to get the image url in the input box from media library?
- WP3.5 Media Uploader – how to make it accept multiple images?
- Add/change multipart_params parameter when uploading post image
- post_id missing from the wp-admin file upload request
- Close the media-upload thickbox right after upload is finished?
- wp.media add context
- wp_enqueue_media() Will not load JS on the theme
- Switch between tabs on “Insert Media” dialog
- How to disable plupload completely from latest wordpress 3.6 and make browser upload default
- async_upload.php 500 Error when Uploading larger files with slow internet connection and latency
- “send_to_editor” function returning pdf file name
- WordPress Media frame pre load images from ids
- How to get file object from file_attachment?
- How to locate the js code and php code for certain function?
- Make inline uploader (plupload) on options page upload to a specific folder
- I want to customize wp.media (the wordpress admin uploader) in order to change the file name but only in video custom post type
- How to show all available images in WP’s media library when using the Polylang plugin?
- Append button to WordPress Image Details modal
- How to set custom upload directory per user after moving content directory
- This file type is not allowed. Please try another
- File Upload Permissions
- Setting the uploads directory
- Retrieving JSON data in ajax request from media uploader
- How to disable WordPress Media resize different size version?
- insert post & Upload post thumbnail from the front end using ajax
- how to add new .webm mime types
- how can i simple change upload folders to %year%/%month%/%day%?
- How can I save the original filename to the database?
- Regenerate thumbnails unexpected resolution (96 x 96)
- How to host different file formats/types for a media attachment without creating multiple attachments?
- Can’t write pdf file to upload directory using FPDF
- Use WordPress’s Media Uploader/ Manager in non WordPress php application
- Adding Adobe files to a wordpress site [closed]
- Unable to Upload Images on Local Windows Install
- What types of files can I upload with the WordPress Uploader?
- Replacing Images in Media Library
- Creating a feature to upload multiples images in the Theme Options?
- Copying uploaded images not working in wordpress
- Manual filename while uploading attachments
- Multiple media uploader buttons target only one input on the same page
- Convert (-) and (escape) signs to (_) when uploading files on wordpress media library automatically
- Make WordPress compress full size image?
- Move files from flat upload directory to organised by year / month
- Can’t manipulate media uploads
- Alternative or workaround for wp_insert_attachment
- Upload iPhone video clips to blog via native WP app
- Process uploads with phpThumb before generating thumbnails
- Resize existing library images
- Large image upload size (using timthumb.php
- How can I manage and limit disk usage for each author?
- How would I change the 10 MB limit to 5 GB in this script?
- Media Library Won’t Display Any Images
- How can I modify the media upload form fields?
- More Fields & Media Upload
- How does wordpress handle media files?
- Upload Custom Mime Types in WordPress (SVG, WebP)
- “Sorry, this file type is not permitted for security reasons.”
- Can upload through FTP but not through WP uploader
- Changing titles in Uploader for “Posts”
- WordPress upload file action hook
- Upload PDF and other files from the Front-End
- Custom Text in Media Uploader in a Theme Options Page
- How to disable image thumbnails from media manager but not post media uploader?
- Certain functions are not available when executed with wp_schedule_event
- Upload image fails “upload test” on localhost
- Get uploaded video URL
- How Do I Change the File Permission For Uploaded Files in WordPress?
- WordPress media has all disappeared on wp-admin but still on the server
- The uploaded file exceeds the upload_max_filesize directive in php.ini. showing while uploading a theme
- image not display in media library and thumbnail not display in post
- How to upload .tex files in wordpress?
- Which WordPress file controls the featured image upload maximum width and height of 3000px
- Using Gravity Forms to upload media into library, then attach to post
- Some images not appearing after switching from AWS S3 back to local
- Uploading a file results in attachment post, but file is missing
- Why I am not able to upload media files?
- Store uploads on an external server?
- Force relative path in media library for LAN deployment
- WordPress Media manager select file button, how to prevent hiding?
- Limit number of uploaded attachments of specific context
- Set featured link not showing
- WordPress upload folder on separate server
- 3.5.x Theme Customize: Handling Custom Control Requests
- increase maximum upload file
- How i can upload images to another folder?
- make default upload folder year/month/day wordpress without plugin [duplicate]
- Display Image Upload from Contact Form 7 on Redirect Page [closed]
- media_handle_sideload() fails
- How to upload and add images to the existing post from the front-end with admin approval which is posted by other user
- Image in binary in the data to WordPress media library
- get_post_meta returns on side but it doesn’t return on bottom of admin page