Opened 12 years ago
Closed 12 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 |
|---|---|---|---|
| Priority: | high | Milestone: | 4.2 |
| Component: | Customize | Version: | 4.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | javascript |
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
@
12 years ago
- Focuses javascript added
- Keywords has-patch added; needs-patch removed
- Owner changed from to
- Status assigned → reviewing
See 31889.diff which overrides the isContextuallyActive method to ignore the theme controls' active states.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
https://github.com/xwp/wordpress-develop/pull/84