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

WordPress Trac noreply at wordpress.org
Tue Jul 18 22:10:43 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:
--------------------------------------+--------------------------
Changes (by westonruter):

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


Comment:

 In [changeset:"41086"]:
 {{{
 #!CommitTicketReference repository="" revision="41086"
 Widgets: Replace adding `balanceTags` on `widget_custom_html_content`
 filter in favor of just applying `widget_text` filters in the 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.

 Amends [40893].
 See #40951.
 Fixes #40907 for trunk.
 }}}

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


More information about the wp-trac mailing list