diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
index 4f04de4..f8a64dc 100644
|
|
|
585 | 585 | }, |
586 | 586 | |
587 | 587 | /** |
| 588 | * Override Section.isContextuallyActive method. |
| 589 | * |
| 590 | * Ignore the active states' of the contained theme controls, and just |
| 591 | * use the section's own active state instead. This ensures empty search |
| 592 | * results for themes to cause the section to become inactive. |
| 593 | * |
| 594 | * @since 4.2.0 |
| 595 | * |
| 596 | * @returns {Boolean} |
| 597 | */ |
| 598 | isContextuallyActive: function () { |
| 599 | return this.active(); |
| 600 | }, |
| 601 | |
| 602 | /** |
588 | 603 | * @since 4.2.0 |
589 | 604 | */ |
590 | 605 | attachEvents: function () { |