[wp-trac] [WordPress Trac] #34747: Provide more flexibility for "You are customizing" text

WordPress Trac noreply at wordpress.org
Thu Feb 25 20:38:28 UTC 2016

#34747: Provide more flexibility for "You are customizing" text
 Reporter:  danielbachhuber  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Customize        |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:

Comment (by westonruter):

 @ryankienstra thanks for the patch. A couple notes:

 * Probably best to not use `esc_html()` so that markup can be output if
 desired. Other controls `description` data is output without escaping to
 allow for markup.
 * Instead of `customizer_primary_panel_description` I'd suggest
 `customize_root_panel_description` panel (the term `root` is used
 elsewhere in the code to refer to the top-level).

 As for overriding the title, that's a good question. For now probably the
 easiest is just to use JS to replace the elements and use different class
 names. If doing that, then you could also use JS to override the panel
 description, though this isn't the most elegant.

Ticket URL: <https://core.trac.wordpress.org/ticket/34747#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list