[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:16: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:
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

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

 Since plugin-added 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.

 Amends [41050].
 Props westonruter, melchoyce.
 Fixes #40951 for trunk.
 }}}

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


More information about the wp-trac mailing list