[wp-trac] [WordPress Trac] #40907: Introduce widget dedicated for HTML code

WordPress Trac noreply at wordpress.org
Tue Jul 18 22:18:14 UTC 2017


#40907: Introduce widget dedicated for HTML code
--------------------------------------+--------------------------
 Reporter:  westonruter               |       Owner:  westonruter
     Type:  feature request           |      Status:  closed
 Priority:  normal                    |   Milestone:  4.8.1
Component:  Widgets                   |     Version:  4.8
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------

Comment (by westonruter):

 In [changeset:"41087"]:
 {{{
 #!CommitTicketReference repository="" revision="41087"
 Widgets: Replace adding `balanceTags` on `widget_custom_html_content`
 filter in favor of just applying `widget_text` filters in Custom HTML
 widget.

 Ensures that users who copy HTML from the Text widget in legacy mode over
 to the Custom HTML widget will continue to get all of the same filters
 applied, including tag balancing and shortcodes, if a plugin added
 support. Plugins still have the `widget_text_content` and
 `widget_custom_html_content` filters they can use to target the specific
 widget types.

 Merges [41086] onto 4.8 branch.
 Amends [40893].
 See #40951.
 Fixes #40907 for 4.8.1.
 }}}

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


More information about the wp-trac mailing list