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
- Difference Between Filter and Action Hooks?
- How to add sub-menu to a menu generated by wp_nav_menu by using plugin
- Checking if a file is already in the Media Library
- Prevent network activation of plugin
- Uninstall script for a plugin in Multisite
- Using query_vars filter
- Customizing the 3.5 “Add Media” popup (Backbone.js)
- Explanation of the “posts_join” and “posts_fields” filter hooks?
- Changing upload directory for plugin uploads only
- Upload file to remote storage
- Is it possible to remove next-post / previous-post with out creating a custom template?
- WP Rest API – Upload media without saving attachment post
- Error getting correct blog_id on MU from functions.php
- Proper way to use apply_filters() with class functions?
- Actions or filters fired when data is saved in a custom table
- Determine which theme location a wp_get_nav_menu_items is for
- What’s the difference between hooks, filters and actions? [duplicate]
- Conditional add_filter?
- Mediaelement.js feature doesn’t work
- Multisite, sharing content by URL
- Calling apply_filters on non-documented hooks
- How to use wp_set_password in a plugin?
- Define a function outside a class and call the function using action or filter hook
- Does add_filter work outside functions.php
- Synchronize Custom post type tags to WordPress default posts tags
- Getting Details Of Uploaded Image
- how to activate plugin network-wide, and save setting across sites
- What is difference between blog id and site id?
- Hook to get image filename when it is uploaded
- How to send email in wordpress with more than one attachments
- How to create a Tools menu on the Network Admin dashboard from a plugin
- Files automatically added
- Two functions utilizing registration_errors filter
- get_current_screen() return null
- Plugin writing: access file that was just uploaded
- Problems with: manage_${post_type}_posts_columns
- Custom delete option button in plugin settings
- Add code inside specific wordpress standard function
- How To Change Post Author Default?
- How to find the origin of a file upload from within wp_handle_upload?
- Why doesn’t my simple the_title filter get applied?
- How to filter the_content() & include content from template
- Prefixing plugin hooks (actions/filters) with a wrapper class or functions
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Multiple Plugin best practice in Multisite
- Selectively update themes in WordPress multisite
- Using ob_get_content to get_search_form puts into infinite loop
- WordPress class, using add_action to call member function does not work
- hook filter after the_content on a specific page
- adding a button to the media uploader
- Call to undefined function is_home() or any conditional tags
- 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
- How to submit/upload data to database and in specific folder?
- Get audio metadata on file upload
- Clean way to initialize plugin in newly-added site when plugin has been network activated?
- How to edit wp-signup.php content using plugin
- How to get changed post title in my custom plug-in which fires when ‘save_post’ is called?
- Why doesn’t update_post_meta work for certain strings?
- Can I attach a plugin via my add_filter callback contents?
- 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?
- Default media uploader is not showing in wordpress website
- How do I ensure I can loop through every enqueued script and CSS?
- Redirect theme directory to plugin theme directory
- login_message filter not working
- WordPress Dropdown image select
- Modify search form with plugin
- How to destroy or dispose wordpress uploder/manager?
- Which filter to use to pre-parse form elements, which are generated by plugin’s shortcode?
- Confusing $tag specification for apply_filters call, in core options.php code
- Same header/footer in Admin, across all network sites in multisite
- How to filter get_adjacent_post()?
- New wordpress uploads are broken
- post_results filter confused by pagination in sidebar and main section
- Post Type Upload Directory – {post_type}_upload_dir filter
- Changing upload directory for plugin uploads only
- Apply Filters Causing a 500 Internal Server Error
- add_filter adds output in the head
- Leveraging Core Functionality in Icon Upload Plugin [closed]
- Upload to a specific media folder created by FileBird Lite
- Ninja Forms: Front-End Forms, Post ID?
- wp media uploader and ID3 tags
- 2 Domains pointing to SIngle WordPress , issues with links
- WordPress Playground and uploading permission issue
- How can I get all attachments by a user on a WP multisite network?