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

WordPress Trac noreply at wordpress.org
Tue Jul 18 07:43:21 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:
--------------------------------------+--------------------------

Comment (by bobbingwide):

 Replying to [comment:61 westonruter]:
 > 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.
 >
 Tests should be other way around and the filter shouldn't be removed once
 added.

 > 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?
 Balancetags should be applied during save.

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


More information about the wp-trac mailing list