[wp-trac] [WordPress Trac] #41876: Add inline help to Custom HTML widget
WordPress Trac
noreply at wordpress.org
Wed Sep 13 20:54:12 UTC 2017
#41876: Add inline help to Custom HTML widget
-------------------------+----------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.9
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: accessibility
-------------------------+----------------------------
Comment (by westonruter):
As suggested by @afercia, this can be generalized so that when you
construct `WP_Widget` there can be an optional `help` parameter for
`control_options` which, when supplied, would automatically be inserted
into the widget control. In that way it wouldn't be something ad hoc for
the Custom HTML widget alone but could be re-used by other widgets. I am
not aware of other widgets that need help text, however.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41876#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list