Here’s a workaround you can put in a plugin or your theme’s functions.php file. So far no problems.
/*
* Workaround Bug 30123
* Affects WP 4.0+, should be fixed in WP 4.1
* https://core.trac.wordpress.org/ticket/30123
*/
function bugfix30123__action__admin_init() {
if ( isset( $_GET['attachment-filter'] ) && is_string( $_GET['attachment-filter'] ) ) {
$_GET['attachment-filter'] = $_REQUEST['attachment-filter'] = str_replace( '%2F', "https://wordpress.stackexchange.com/", $_GET['attachment-filter'] );
}
}
add_action( 'admin_init', 'bugfix30123__action__admin_init' );
Related Posts:
- Saving data-URI to media library
- Can I use the wp media uploader for my own plugin?
- Change Media Uploader default directory
- Sharing a common set of image files for media library, across all sites within multisite
- What filter should I use to insert a button inside on Media>Add New
- How to replicate Media Library “Add New” on Plugin Settings Page
- Create a new post using rest api and save featured image using an external image url
- Redirect to another page using contact form 7? [closed]
- How to move an image in a plugin to the upload directory and make it as a media of wordpress?
- wp.media Uncaught TypeError: Cannot read properties of undefined (reading ‘state’)
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- upload image to wordpress media library failed for custom post type
- How can I add an image upload field directly to a custom write panel?
- How do I create a custom role capability?
- How can I load a page template from a plugin?
- Changing Plugin Load Order
- What is wrong with using add_option with Multisite instead of add_blog_option in a plugin
- Upload path/URL weirdness for the main blog of a multisite/network setup
- How to get Post ID with the Add Filter Function
- How to Get a List of Sub Blogs without Using get_blog_list()?
- Organize uploaded media files
- How to extend LINK TO functionality in ATTACHMENT DISPLAY SETTINGS
- How do I Make a Theme “plugin-ready”?
- Cron firing my function everytime wp-admin is visited
- How do I make specific plugin functionality apply to different sites in a network?
- How to modify post content before writing to database?
- WordPress multisite apply different options over each site from same plugin
- Filter on the_content ignores shortcodes
- How to change wordpress post title?
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- Display only certain posts based on visitor’s country?
- Filters ‘request’ and ‘parse_query’ not firing in sites.php nor link-manager.php
- How to use filter hook ‘post_updated_messages’ in coherence with action hook ‘save_post’
- Why are two functions over-riding each other?
- Is it possible to create an action hook using do_action() within add_action()?
- Hook for post permalink update
- Only allow plugin to be activated on root site of multisite
- Dynamically Override Fancy Title
- How to allow Unfiltered HTML in a wordpress multisite install
- Changing bloginfo description from a plugin
- Is there a way to verified if an add_filter is already applied?
- multiple functions with same filter
- Woocommerce – Hide a Column in Cart Table
- Proper way to hook wp_get_attachment_url
- Multisite plugin development and wp_enqueue_script
- Plugin Uninstall and Deactivate via Options Menu
- How to stop unlink images when remove a site or user
- Uploading images from a custom page using blueimp uploader?
- add_filter : Passing an array instead of the callback function?
- How do I alter the comment form ‘allowed tags’ text in a plugin?
- Override the default Add/Edit site forms of the Network Panel in custom plugin
- How to set “Site Address (URL)” programmatically on WP multisite?
- Namespaced action and filter tags
- Is there a Filter that I can use to filter the tags before they are inserted in to the database?
- WordPress is automatically linking plain text email addresses
- Multisite – Images often getting uploaded to the wrong month directory
- Can’t get woocommerce_get_price_html to work [closed]
- Search and Filter
- Why is the temporary upload always 4.1K
- WordPress custom taxonomy check box to dropdown
- Using ob_get_content to get_search_form puts into infinite loop
- Problem with context in multisite – getting main site data in every blog (get_pages())
- wp_editor add media button not working
- WordPress multisite,use same cookies across all website?
- Call to undefined function is_home() or any conditional tags
- WooCommerce change Tax Class programmatically when Recalculating an existing Order [closed]
- How to create a digital product download link that can’t be used twice?
- Include HTML (Bootstrap Modal Box) with a plugin into my header
- WP_NAV_MENU filter targets all menus
- How to share user data across multiple WordPress websites?
- Is there an action_filter hook to add content before the post title?
- Adding tables to dashboard pages programmatically?
- Why doesn’t update_post_meta work for certain strings?
- unable to write to the database while uploading images
- Trying to rename a file upload as the hash of file content on wordpress
- Limit get_next_post to posts from the same author
- Home page is not loading, where in other pages are displaying on the site
- Any way, hook to add content right before the “read more” link?
- 500 Internal server error wp_handle_upload_prefilter
- Default media uploader is not showing in wordpress website
- How do I ensure I can loop through every enqueued script and CSS?
- Hook for validating and rejecting frontend image upload
- Custom Plugin activation error in Multisite
- Redirect theme directory to plugin theme directory
- WordPress Reset password Strength set to medium
- Multisite and the JSON REST API: How to?
- Modify search form with plugin
- Single_template for a custom post type created from a plugin is returning an empty page
- Confusing $tag specification for apply_filters call, in core options.php code
- WordPress permalink setting
- Post Type Upload Directory – {post_type}_upload_dir filter
- Dynamic banner for use on external sites
- Changing upload directory for plugin uploads only
- Thumbnails for media Library images
- Apply Filters Causing a 500 Internal Server Error
- How do you filter get_media_items by mime type in a custom media upload tab?
- add_filter adds output in the head
- upload script in plugin development [duplicate]
- Apply function on all action hooks?
- Load images from CDN and custom features to “Add Media” dialogue