[wp-trac] [WordPress Trac] #40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code

WordPress Trac noreply at wordpress.org
Wed Jun 14 15:43:54 UTC 2017


#40951: New Text Widget - Switching Between Visual/Text Editor Strips Out Code
--------------------------+-----------------------
 Reporter:  dwrippe       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  4.8.1
Component:  Widgets       |     Version:  4.8
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------

Comment (by And_or):

 Replying to [comment:43 gitlost]:
 > +1 to points 1 to 3 above.
 >
 > An alternative to the Classic Text Widget approach above is to disable
 the new functionality on the existing Text Widget by removing filters and
 javascript and overriding the widget registration, which seems to work
 fine - I've put this into a plugin which is available on
 [https://github.com/gitlost/ye-olde-text-widget], the zip can be
 downloaded [https://github.com/gitlost/ye-olde-text-
 widget/blob/master/dist/ye-olde-text-widget-1.0.0.zip?raw=true here].
 >
 > (I don't know what sort of stuff I've kludged into text widgets over the
 years so installing this gives me peace of mind on upgrading to 4.8.)
 >
 > Re point 4 I was following this development vaguely all along (the new
 widget is lovely) and still didn't click it could break my sites...

 Thanks a lot @gitlost your plugin saves me a lot of hassle on some sites
 that had already updated to 4.8! (was so confident with WordPress I had
 set some sites to auto update... will be a while before that trust is
 back)
 Can confirm it also works on MU

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40951#comment:45>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list