[wp-trac] [WordPress Trac] #38794: Customize: Allow panels and sections to have notifications just like controls can
WordPress Trac
noreply at wordpress.org
Tue Nov 15 03:27:07 UTC 2016
#38794: Customize: Allow panels and sections to have notifications just like
controls can
-------------------------+-------------------------
Reporter: westonruter | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.8
Component: Customize | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
-------------------------+-------------------------
In #34893, the ability to show notifications on controls was added. In
#35210 this is proposed to be extended at a global level to be able to
show notifications at the root of the customizer. Between these two ends,
there should also be the ability to show notifications at the panel and
section level.
The Customize Posts plugin implements notifications for sections which
could serve as a start for the patch here: https://github.com/xwp/wp-
customize-posts/blob/0.8.2/js/customize-post-section.js#L825-L942
Once implemented, section notifications should be utilized for the Header
Media section to show a notification when not previewing a URL that is
eligible for a header video. See #38778.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38794>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list