[wp-trac] [WordPress Trac] #38738: Remove front page restrictions from new custom header functions
WordPress Trac
noreply at wordpress.org
Fri Nov 11 18:03:15 UTC 2016
#38738: Remove front page restrictions from new custom header functions
---------------------------+--------------------
Reporter: peterwilsoncc | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+--------------------
Comment (by joemcgill):
I like the idea behind [attachment:38738.diff] a lot. It does seem like
this is something one would want to define when setting up support, rather
than worrying about it in templates. I think there might be some confusion
though with a function named `is_header_video_active()` that its purpose
would be to determine if the video is set. Maybe something like
`is_header_video_supported()`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38738#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list