getActivatedPlugins() : $pluginNames; sort($plugins); $pluginsInfo = ''; foreach ($plugins as $pluginName) { if ($manager->isPluginLoaded($pluginName)) { $plugin = $manager->getLoadedPlugin($pluginName); $pluginsInfo .= $plugin->getPluginName() . $plugin->getVersion() . ','; } } $cacheBuster = md5($pluginsInfo . PHP_VERSION . Version::VERSION . trim($currentGitHash ?? '')); if ($pluginNames !== false) { return $cacheBuster; } $cachedCacheBuster = $cacheBuster; } return $cachedCacheBuster; } /** * @param string $content * @return string */ public function md5BasedCacheBuster($content) { return md5($content); } }