[wp-trac] [WordPress Trac] #40907: Introduce widget dedicated for HTML code
WordPress Trac
noreply at wordpress.org
Fri Jun 9 21:08:00 UTC 2017
#40907: Introduce widget dedicated for HTML code
-------------------------------------------------+-------------------------
Reporter: westonruter | Owner:
Type: feature request | westonruter
Priority: normal | Status: accepted
Component: Widgets | Milestone: 4.8.1
Severity: normal | Version: 4.8
Keywords: has-patch needs-testing needs-unit- | Resolution:
tests | Focuses:
-------------------------------------------------+-------------------------
Comment (by westonruter):
I didn't include the `.textwidget` wrapper around the content that is
printed, so a `<div class="textwidget">` would need to be added if a user
wanted to have all of the styles that would apply to a text widget.
We should also check to make sure there isn't an existing widget with
`html_code` as its ID base in the repo, and that the `WP_Widget_HTML_Code`
class isn't used for that matter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40907#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list