[wp-trac] [WordPress Trac] #38654: The supportsVideo() method in the custom header script should be overridable
WordPress Trac
noreply at wordpress.org
Fri Nov 4 05:25:37 UTC 2016
#38654: The supportsVideo() method in the custom header script should be
overridable
--------------------------+-----------------------------
Reporter: bradyvercher | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
The original intention for the `supportsVideo()` method in `wp-custom-
header.js` was to define some sensible checks to determine when a header
video should be embedded, but allow the method to be overridden by themes
or plugins if necessary. However, that's not currently possible since the
method is private.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38654>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list