diff --git a/Puc/v5/PucFactory.php b/Puc/v5/PucFactory.php index 9ea49a5..3cda059 100644 --- a/Puc/v5/PucFactory.php +++ b/Puc/v5/PucFactory.php @@ -4,7 +4,7 @@ if ( !class_exists(PucFactory::class, false) ): - class PucFactory extends \YahnisElsts\PluginUpdateChecker\v5p0\PucFactory { + class PucFactory extends \YahnisElsts\PluginUpdateChecker\v5p1\PucFactory { } endif; diff --git a/Puc/v5p0/Autoloader.php b/Puc/v5p1/Autoloader.php similarity index 98% rename from Puc/v5p0/Autoloader.php rename to Puc/v5p1/Autoloader.php index dfd1ee6..ecdede9 100644 --- a/Puc/v5p0/Autoloader.php +++ b/Puc/v5p1/Autoloader.php @@ -1,6 +1,6 @@ $pucVersionedClass ) { - MajorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.0'); + 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.0'); + MinorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.1'); } diff --git a/plugin-update-checker.php b/plugin-update-checker.php index 1d892f3..ebf10bc 100644 --- a/plugin-update-checker.php +++ b/plugin-update-checker.php @@ -1,10 +1,10 @@