Opened 9 years ago
Last modified 9 years ago
#39238 accepted defect (bug)
The active handler for a video header isn't accessible
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Future Release | Priority: | normal |
| Severity: | normal | Version: | 4.7 |
| Component: | Themes | Keywords: | has-patch |
| Focuses: | Cc: |
Description
In wp-custom-header.js, the handler used for displaying the video should be assigned to wp.customHeader.activeHandler for other scripts to access. However, with the way it's currently being assigned, that property is always undefined.
For reference, this is where the assignment currently happens.
Attachments (1)
Change History (6)
#2
@
9 years ago
- Milestone changed from Awaiting Review to 4.8
- Owner set to joemcgill
- Status changed from new to accepted
This ticket was mentioned in Slack in #core by flixos90. View the logs.
9 years ago
This ticket was mentioned in Slack in #core by obenland. View the logs.
9 years ago
Note: See
TracTickets for help on using
tickets.
39238.diff assigns the handler to the
activeHandlerproperly immediately before calling the handler'sinitialize()method to ensure the property always has the correct value.