[wp-trac] [WordPress Trac] #38778: Only show video header controls if previewing front page
WordPress Trac
noreply at wordpress.org
Mon Nov 14 06:17:36 UTC 2016
#38778: Only show video header controls if previewing front page
--------------------------+-----------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Customize | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------
I was attempting to set a video header and I thought something was broken
because I couldn't see the video when I set it. It turns out I wasn't on
the front page, and so the video header was not rendered. As
[https://core.trac.wordpress.org/ticket/38172#comment:61 noted] by
@celloexpressions in #38172:
> We should consider making the customizer controls contextual to this
behavior.
So yes, I suggest we add `is_front_page` as the `active_callback` for the
`header_video` and `external_header_video`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38778>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list