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
- Multimedia upload error in my wordpress job board plugin
- Why doesn’t my simple the_title filter get applied?
- How to filter the_content() & include content from template
- How to enable sorting in custom media uploader in plugin
- Adding rewrite rule dynamically
- Multisite – Images often getting uploaded to the wrong month directory
- Prefixing plugin hooks (actions/filters) with a wrapper class or functions
- Replace youtube embed in wordpress
- What should happen when a WordPress Plugin is activated across the network (Network Wide Activation)
- Can’t get woocommerce_get_price_html to work [closed]
- Multiple Plugin best practice in Multisite
- Capture mediaelement events
- Search and Filter
- Why is the temporary upload always 4.1K
- Copying media from multisite subsites to main website
- How can I replace content in the WP Admin area before an admin page is rendered?
- How to filter content for specific content variable
- PowerPress mobile media player
- WordPress custom taxonomy check box to dropdown
- Selectively update themes in WordPress multisite
- 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())
- Valid filenames for add_action’s first parameter
- Upload multiple images and insert them into custom html code
- How do I access the menus produced by Dashboard > Appearance > Menus
- WordPress class, using add_action to call member function does not work
- how to invoke wordpress API from other existing PHP system
- WP Multisite login not working on one subsite. Possibly cookies/ history issue?
- How to get all queries’s results after they have executed?
- wp_editor add media button not working
- register_activation_hook on multisite
- How to get the post excerpt using post object?
- Where to set individual blog quotas?
- WordPress Specified file failed upload test
- Remove an action by extending class and replacing it
- hook filter after the_content on a specific page
- Bind a function with its own argument to show something dynamically after every content
- adding a button to the media uploader
- WordPress multisite,use same cookies across all website?
- Hook add_attachment error
- Call to undefined function is_home() or any conditional tags
- WP: Search and replace in DB programmatically
- WooCommerce change Tax Class programmatically when Recalculating an existing Order [closed]
- Update variable value via add_filter
- How to create a digital product download link that can’t be used twice?
- Make wordpress join default user metas with a column from another table while displaying the wp_users table on the users screen
- Configure WordPress to Generate Scheme-less Relative URLs
- How to get current logged-in user details in multisite?
- Gravity Forms Anchor only on Front Page?
- How to find list of all functions bind to a particular hook from my plugin?
- Include HTML (Bootstrap Modal Box) with a plugin into my header
- How to submit/upload data to database and in specific folder?
- add_action wp_ajax_ not loading in plugin file WP Network
- Cleaning a filename after image sideloading a url that contains `%20`
- Get audio metadata on file upload
- Automatically Insert Into Post when uploading Media
- WP_NAV_MENU filter targets all menus
- Clean way to initialize plugin in newly-added site when plugin has been network activated?
- How to share user data across multiple WordPress websites?
- Adding filter to the title without affecting the menu title
- Is there anything special required to make a plugin work in a multisite environment?
- How to validate inputs with filter in register_setting callback
- How to edit wp-signup.php content using plugin
- How do i remove the title from a specific page
- Can / should a widget plugin define its own Widget Area?
- How to get changed post title in my custom plug-in which fires when ‘save_post’ is called?
- 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?
- Can I attach a plugin via my add_filter callback contents?
- wp.media libary pdf type
- apply_filters() and call_user_func() to define and call a function outside a class
- add_filter postbox_classes multiple post types
- Insert and read media from the WordPress library and call in the plugin
- unable to write to the database while uploading images
- Trying to rename a file upload as the hash of file content on wordpress
- Override category archive page title (not the head title)
- How to add HTML into error message
- Limit get_next_post to posts from the same author
- Home page is not loading, where in other pages are displaying on the site
- Override woocommerce loop-start.php from theme using plugin?
- 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
- WordPress5.2.3: Better File Download Plugin validation issue
- How do I ensure I can loop through every enqueued script and CSS?
- WordPress discards PNG file when uploading plugin file
- Hook for validating and rejecting frontend image upload