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

WordPress Trac noreply at wordpress.org
Mon Jun 26 18:15:45 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-testing has-unit-tests has-    |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------

Comment (by westonruter):

 Replying to [comment:92 gitlost]:
 > In the refresh patch "40951.3.diff" the legacy bail out got moved to
 after the `TextWidgetControl` addition in `component.handleWidgetAdded()`
 so you get a blank textarea showing...

 Thanks very much for catching that! My merge conflict resolution put the
 condition in the wrong place. @obenland would you fix the latest patch to
 correct that? I'm on mobile this week.

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


More information about the wp-trac mailing list