[wp-trac] [WordPress Trac] #37727: Allow for customize control notifications to have extensible templates

WordPress Trac noreply at wordpress.org
Mon Sep 19 18:43:22 UTC 2016


#37727: Allow for customize control notifications to have extensible templates
-------------------------+-------------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.7
Component:  Customize    |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  javascript
-------------------------+-------------------------
Changes (by celloexpressions):

 * milestone:  Awaiting Review => 4.7


Comment:

 It feels a bit odd to call it (and make it) a template since in most cases
 there won't/shouldn't be a need for any logic or even accessing the
 notification object. However, this should work well and also fixes an
 issue I'd seen with the message also going to screen readers. To avoid
 needing to make a separate message and template that are virtually the
 same, I wonder if the message could default to being the template with
 tags stripped if the message isn't provided but a template is?

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


More information about the wp-trac mailing list