#38654 closed defect (bug) (invalid)
The supportsVideo() method in the custom header script should be overridable
| Reported by: | bradyvercher | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Themes | Version: | 4.7 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
38654.diff refactors the pattern for the customer header module to make the
supportsVideo()method public and overridable.