[wp-trac] [WordPress Trac] #35210: Add notification area to Customizer
WordPress Trac
noreply at wordpress.org
Thu Mar 24 23:35:43 UTC 2016
#35210: Add notification area to Customizer
-------------------------+-----------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: ui, javascript
-------------------------+-----------------------------
Comment (by Fab1en):
I made a [attachment:35210.2.patch second version of my patch] with the
following enhancements :
* the notification is displayed on top of other informations
* several notifications can be stacked
* the notification is inserted dynamically into the DOM with the help of a
JS template
* the error message is generated on the server in PHP, and send back to
the customizer to be displayed
* a test notification can be triggered by selecting the "test error
notification" panel, entering a custom error message and saving.
Could anyone test this patch and see if something is missing ?
The next step is to use this mechanism to display real life errors. Does
anyone knows an easily reproductible error that could be displayed this
way ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35210#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list