﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	focuses
37727	Allow for customize control notifications to have extensible templates	westonruter	westonruter	"It was [https://wordpress.slack.com/archives/core-customize/p1469851496000101 noted] by @celloexpressions toward the end of 4.6:

> FYI I just noticed an issue with the JS template for control notifications introduced in [37476]. We need to display the raw message rather than escaping it `{{{` instead of `{{` so that html is allowed. Which it should be for links, etc., and it's needed for #34923. I'm making the change in the next patch there and don't think we need to change it for 4.6 but wanted to point it out.

It is useful to embed non-message content into a notification to allow for buttons to action on the notification. However, I don't feel that just allowing the raw `message` to be injected into the notification template is necessarily the best way to go. To me it would seem better if we allowed for `Notification` subclasses that had custom templates to handle the various notification codes differently. Then the server wouldn't have to pass markup back as part of error messages.

Allowing custom templates for notifications would be highly useful for the global notification area in the Customizer (#35210).

See also https://core.trac.wordpress.org/ticket/30738#comment:16"	enhancement	closed	normal	4.9	Customize	4.6	normal	fixed	has-patch		javascript
