[wp-trac] [WordPress Trac] #27981: Support descriptions for Customizer Controls

WordPress Trac noreply at wordpress.org
Thu Jul 3 15:12:31 UTC 2014


#27981: Support descriptions for Customizer Controls
-----------------------------+-----------------------
 Reporter:  danielbachhuber  |       Owner:  helen
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:  4.0
Component:  Customize        |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------
Changes (by westonruter):

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


Comment:

 Replying to [comment:9 tollmanz]:
 > I have one suggestion: I think {{{esc_html}}} is unnecessarily
 restrictive and should be removed. Since these descriptions should never
 be populated via user input (and if they are, that's on the dev to work
 out), the description should be pre-escaped. I find this to be
 particularly limiting in that you cannot even add links or bold text.

 Agreed. A section's description lacks `esc_html` and so a control's
 description should omit it as well.

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


More information about the wp-trac mailing list