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

WordPress Trac noreply at wordpress.org
Tue Jul 18 01:32:16 UTC 2017


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

 * keywords:  has-patch has-unit-tests commit fixed-major => has-patch has-
     unit-tests
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 As noted in [https://core.trac.wordpress.org/ticket/40951#comment:154
 #40951 (comment 154)], we may want to update the Custom HTML widget to
 explicitly add the just-in-time shortcode support if a plugin had added
 support for it. See [attachment:custom-html-widget-shortcode-
 support.diff]. This would ensure that if a user moves from a Text widget
 to a Custom HTML widget, the shortcode handling will still work.

 Alternatively, we could just go ahead and apply all the `widget_text`
 filters to the Custom HTML instance instead. See [attachment:apply-
 widget_text-filter-in-custom-html-widget.diff].

 Thoughts?

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


More information about the wp-trac mailing list