[wp-trac] [WordPress Trac] #36582: Export main query from Customizer preview

WordPress Trac noreply at wordpress.org
Mon Apr 18 20:45:27 UTC 2016


#36582: Export main query from Customizer preview
-------------------------+------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.6
Component:  Customize    |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------
Description changed by westonruter:

Old description:

> Controls, sections, and panels in the Customizer support the concept of
> an active state (#27993) which controls whether or not the control is
> contextual to the current query. Controls may want more information than
> whether to hide/show, but to show contextual information based on which
> kind of query is loaded in the Customizer preview, such as if it
> `is_singular` or which post specifically was queried. This information
> should be exposed from the Customizer preview to the pane as well.
>
> An initial implementation of this has been implemented in the Customize
> Posts feature plugin: https://github.com/xwp/wp-customize-posts

New description:

 Controls, sections, and panels in the Customizer support the concept of an
 active state (#27993) which controls whether or not the control is
 contextual to the current query. Controls may want more information than
 whether to hide/show, but to show contextual information based on which
 kind of query is loaded in the Customizer preview, such as if it
 `is_singular` or which post specifically was queried. This information
 should be exposed from the Customizer preview to the pane as well.

 An initial implementation of this has been implemented in the Customize
 Posts feature plugin: https://github.com/xwp/wp-customize-posts

 See Slack: https://wordpress.slack.com/archives/core-
 customize/p1461011732000103

--

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


More information about the wp-trac mailing list