[wp-trac] [WordPress Trac] #38778: Only show video header controls if previewing front page

WordPress Trac noreply at wordpress.org
Mon Nov 14 20:59:53 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        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------

Comment (by westonruter):

 @joemcgill they'd still see “Header Media” as the section title
 regardless. The condition for switching between “Header Media” and “Header
 Image” is whether or not the theme includes `video` in its `custom-header`
 support. So the question is just what to do with the `header_video` and
 `external_header_video` controls, whether they are shown when URLs are
 being previewed for templates which do not allow videos to be used in the
 header. Or should there be a different “informational” control that is
 shown when `! is_front_page()`.

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


More information about the wp-trac mailing list