Opened 10 years ago
Closed 10 years ago
#31889 closed defect (bug) (fixed)
Customizer Theme Switcher: Section will be deactivated if search result is empty
Reported by: | ocean90 | Owned by: | ocean90 |
---|---|---|---|
Milestone: | 4.2 | Priority: | high |
Severity: | normal | Version: | 4.2 |
Component: | Customize | Keywords: | has-patch |
Focuses: | javascript | Cc: |
Description
Before #31837 we had a control per theme (can be deactivated if it doesn't match a search term) and the add-new control (was always active). But now all controls can be deactivated which makes isContextuallyActive
returning false. The result of this is an empty sidebar.
Attachments (2)
Change History (5)
#2
@
10 years ago
- Focuses javascript added
- Keywords has-patch added; needs-patch removed
- Owner changed from westonruter to ocean90
- Status changed from assigned to reviewing
See 31889.diff which overrides the isContextuallyActive
method to ignore the theme controls' active states.
Note: See
TracTickets for help on using
tickets.
https://github.com/xwp/wordpress-develop/pull/84