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

WordPress Trac noreply at wordpress.org
Tue Jul 18 04:20:19 UTC 2017


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

Comment (by westonruter):

 In [changeset:"41071"]:
 {{{
 #!CommitTicketReference repository="" revision="41071"
 Widgets: Discount shortcodes and leading/trailing line breaks for
 triggering Text widget legacy mode.

 Since shortcode handling is just-in-time deferred to run after `wpautop`,
 there is no need to retain the presence of shortcodes to trigger legacy
 mode. Also updates Text widget legacy mode notice informing of Custom HTML
 widget.

 Merges [41070] onto 4.8 branch.
 Amends [41050].
 Props westonruter, melchoyce.
 Fixes #40951 for 4.8.1.
 }}}

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


More information about the wp-trac mailing list