[wp-trac] [WordPress Trac] #43125: Deregistering WP_Widget_Media_Image breaks Text widget's "Add Media" button
WordPress Trac
noreply at wordpress.org
Thu Jan 18 13:37:20 UTC 2018
#43125: Deregistering WP_Widget_Media_Image breaks Text widget's "Add Media" button
-------------------------------+------------------------------
Reporter: standardspace | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.9.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):
* keywords: => reporter-feedback
Comment:
Hey there
Welcome to WordPress Trac!
I cannot reproduce this using
{{{#!php
add_action( 'widgets_init', function() {
unregister_widget( 'WP_Widget_Media_Image' );
} );
}}}
The "Add Media" button in the text widget is still there and I can
successfully upload and insert images to the text widget.
Have you tried disabling all plugins and using a default theme to see if
the error persists?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43125#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list