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

WordPress Trac noreply at wordpress.org
Fri Jun 23 23:40:52 UTC 2017


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

Comment (by westonruter):

 Replying to [comment:82 gitlost]:
 > I think the message here in legacy mode should be similar (and
 dismissible). It sounds a bit rich at the moment to be in effect saying
 "Oo, you shouldn't be doing it this way, you should be doing it that way"
 when that way didn't previously exist.

 @melchoyce With that in mind, what about including the word “new” before
 Custom HTML widget, something like:

 > This widget contains code that may work better in the new “HTML Code”
 widget. How about trying that widget instead?

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


More information about the wp-trac mailing list