Plugin\UpdateChecker::class, 'Theme\\UpdateChecker' => Theme\UpdateChecker::class, 'Vcs\\PluginUpdateChecker' => Vcs\PluginUpdateChecker::class, 'Vcs\\ThemeUpdateChecker' => Vcs\ThemeUpdateChecker::class, 'GitHubApi' => Vcs\GitHubApi::class, 'BitBucketApi' => Vcs\BitBucketApi::class, 'GitLabApi' => Vcs\GitLabApi::class, ) as $pucGeneralClass => $pucVersionedClass ) { MajorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.1'); //Also add it to the minor-version factory in case the major-version factory //was already defined by another, older version of the update checker. MinorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.1'); }