This code was indeed quite tricky because now css is added (and aggregates) for all active widgets, and there is no way to know for sure which sidebars will display on which page, so active widgets are considered.
Kanuni hii ilikuwa kweli kabisa suala gumu kwa sababu sasa css ni aliongeza (na aggregates) kwa ajili ya wote vilivyoandikwa kazi, na hakuna njia ya kujua kwa hakika ambayo sidebars kuonyesha ambayo ukurasa, widgets hivyo kazi ni kuchukuliwa.