diff --git a/CHANGES.md b/CHANGES.md index 5edf24d..1a6af2c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +## 1.2.2 (11/27/23) +Changed: Updated the updater. + ## 1.2.1 (7/31/23) * Fixed: Lightbox not launching overlay. diff --git a/composer.lock b/composer.lock index 08d5783..f616f2f 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "yahnis-elsts/plugin-update-checker", - "version": "v5.1", + "version": "v5.3", "source": { "type": "git", "url": "https://github.com/YahnisElsts/plugin-update-checker.git", - "reference": "48b03e93c9c2587f9276dce00ce2b6d94c1190d2" + "reference": "0b6bd7cd3286688ab680201aa6a7d8572c51ae1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/48b03e93c9c2587f9276dce00ce2b6d94c1190d2", - "reference": "48b03e93c9c2587f9276dce00ce2b6d94c1190d2", + "url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/0b6bd7cd3286688ab680201aa6a7d8572c51ae1f", + "reference": "0b6bd7cd3286688ab680201aa6a7d8572c51ae1f", "shasum": "" }, "require": { @@ -27,7 +27,7 @@ "type": "library", "autoload": { "files": [ - "load-v5p1.php" + "load-v5p3.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -52,9 +52,9 @@ ], "support": { "issues": "https://github.com/YahnisElsts/plugin-update-checker/issues", - "source": "https://github.com/YahnisElsts/plugin-update-checker/tree/v5.1" + "source": "https://github.com/YahnisElsts/plugin-update-checker/tree/v5.3" }, - "time": "2023-05-20T11:55:43+00:00" + "time": "2023-11-09T08:34:00+00:00" } ], "packages-dev": [], diff --git a/mai-galleries.php b/mai-galleries.php index 3e738ca..0fd761f 100644 --- a/mai-galleries.php +++ b/mai-galleries.php @@ -4,7 +4,7 @@ * Plugin Name: Mai Galleries * Plugin URI: https://bizbudding.com/mai-design-pack/ * Description: Responsive image galleries with optional image links and lightbox. - * Version: 1.2.1 + * Version: 1.2.2 * * Author: BizBudding * Author URI: https://bizbudding.com @@ -91,7 +91,7 @@ public function __wakeup() { private function setup_constants() { // Plugin version. if ( ! defined( 'MAI_GALLERIES_VERSION' ) ) { - define( 'MAI_GALLERIES_VERSION', '1.2.1' ); + define( 'MAI_GALLERIES_VERSION', '1.2.2' ); } // Plugin Folder Path. diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index a9b255d..605388e 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -6,5 +6,5 @@ $baseDir = dirname($vendorDir); return array( - '9b77ddcfb14408a32f5aaf74e0a11694' => $vendorDir . '/yahnis-elsts/plugin-update-checker/load-v5p1.php', + '45a16669595eb3c0a9e2994e57fc3188' => $vendorDir . '/yahnis-elsts/plugin-update-checker/load-v5p3.php', ); diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 6a5e26c..503ae57 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -7,7 +7,7 @@ class ComposerStaticInit31ed52856d7da0dec3b120a68f359710 { public static $files = array ( - '9b77ddcfb14408a32f5aaf74e0a11694' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v5p1.php', + '45a16669595eb3c0a9e2994e57fc3188' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v5p3.php', ); public static $classMap = array ( diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 48d679d..920024e 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,29 +2,29 @@ "packages": [ { "name": "yahnis-elsts/plugin-update-checker", - "version": "v5.1", - "version_normalized": "5.1.0.0", + "version": "v5.3", + "version_normalized": "5.3.0.0", "source": { "type": "git", "url": "https://github.com/YahnisElsts/plugin-update-checker.git", - "reference": "48b03e93c9c2587f9276dce00ce2b6d94c1190d2" + "reference": "0b6bd7cd3286688ab680201aa6a7d8572c51ae1f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/48b03e93c9c2587f9276dce00ce2b6d94c1190d2", - "reference": "48b03e93c9c2587f9276dce00ce2b6d94c1190d2", + "url": "https://api.github.com/repos/YahnisElsts/plugin-update-checker/zipball/0b6bd7cd3286688ab680201aa6a7d8572c51ae1f", + "reference": "0b6bd7cd3286688ab680201aa6a7d8572c51ae1f", "shasum": "" }, "require": { "ext-json": "*", "php": ">=5.6.20" }, - "time": "2023-05-20T11:55:43+00:00", + "time": "2023-11-09T08:34:00+00:00", "type": "library", "installation-source": "dist", "autoload": { "files": [ - "load-v5p1.php" + "load-v5p3.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -49,7 +49,7 @@ ], "support": { "issues": "https://github.com/YahnisElsts/plugin-update-checker/issues", - "source": "https://github.com/YahnisElsts/plugin-update-checker/tree/v5.1" + "source": "https://github.com/YahnisElsts/plugin-update-checker/tree/v5.3" }, "install-path": "../yahnis-elsts/plugin-update-checker" } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index fc2ac2d..2f34348 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -3,7 +3,7 @@ 'name' => '__root__', 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', - 'reference' => '1f034af7475d15d1105c14db131b4ab7ce4977e7', + 'reference' => 'a35a650a6f2112bf654aec63460c078a52e2f9df', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -13,16 +13,16 @@ '__root__' => array( 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', - 'reference' => '1f034af7475d15d1105c14db131b4ab7ce4977e7', + 'reference' => 'a35a650a6f2112bf654aec63460c078a52e2f9df', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => false, ), 'yahnis-elsts/plugin-update-checker' => array( - 'pretty_version' => 'v5.1', - 'version' => '5.1.0.0', - 'reference' => '48b03e93c9c2587f9276dce00ce2b6d94c1190d2', + 'pretty_version' => 'v5.3', + 'version' => '5.3.0.0', + 'reference' => '0b6bd7cd3286688ab680201aa6a7d8572c51ae1f', 'type' => 'library', 'install_path' => __DIR__ . '/../yahnis-elsts/plugin-update-checker', 'aliases' => array(), diff --git a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5/PucFactory.php b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5/PucFactory.php index 3cda059..a2ec2d2 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5/PucFactory.php +++ b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5/PucFactory.php @@ -4,7 +4,7 @@ if ( !class_exists(PucFactory::class, false) ): - class PucFactory extends \YahnisElsts\PluginUpdateChecker\v5p1\PucFactory { + class PucFactory extends \YahnisElsts\PluginUpdateChecker\v5p3\PucFactory { } endif; diff --git a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/Autoloader.php b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/Autoloader.php similarity index 98% rename from vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/Autoloader.php rename to vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/Autoloader.php index ecdede9..5074ab2 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/Autoloader.php +++ b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/Autoloader.php @@ -1,6 +1,6 @@ + */ + protected $extraProperties = array(); /** * Create an instance of this class from a JSON document. @@ -135,6 +141,22 @@ protected function getFieldNames() { protected function getPrefixedFilter($tag) { return 'puc_' . $tag; } + + public function __set($name, $value) { + $this->extraProperties[$name] = $value; + } + + public function __get($name) { + return isset($this->extraProperties[$name]) ? $this->extraProperties[$name] : null; + } + + public function __isset($name) { + return isset($this->extraProperties[$name]); + } + + public function __unset($name) { + unset($this->extraProperties[$name]); + } } endif; diff --git a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/OAuthSignature.php b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/OAuthSignature.php similarity index 98% rename from vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/OAuthSignature.php rename to vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/OAuthSignature.php index 578bc72..be9ad9e 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/OAuthSignature.php +++ b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/OAuthSignature.php @@ -1,5 +1,5 @@ throttledCheckPeriod * 3600; } else if ( defined('DOING_CRON') && constant('DOING_CRON') ) { - //WordPress cron schedules are not exact, so lets do an update check even + //WordPress cron schedules are not exact, so let's do an update check even //if slightly less than $checkPeriod hours have elapsed since the last check. $cronFuzziness = 20 * 60; $period = $this->checkPeriod * 3600 - $cronFuzziness; diff --git a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/StateStore.php b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/StateStore.php similarity index 98% rename from vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/StateStore.php rename to vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/StateStore.php index b6f6cc1..f182787 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/StateStore.php +++ b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/StateStore.php @@ -1,5 +1,5 @@ debugBarExtension = $this->createDebugBarExtension(); } } diff --git a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/UpgraderStatus.php b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/UpgraderStatus.php similarity index 99% rename from vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/UpgraderStatus.php rename to vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/UpgraderStatus.php index 2dc6736..81b1f4c 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/UpgraderStatus.php +++ b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/UpgraderStatus.php @@ -1,5 +1,5 @@ setInfoFromHeader($remoteHeader, $info); } + //Sanity check: Reject updates that don't have a version number. + //This can happen when we're using a branch, and we either fail to retrieve the main plugin + //file or the file doesn't have a "Version" header. + if ( empty($info->version) ) { + do_action( + 'puc_api_error', + new \WP_Error( + 'puc-no-plugin-version', + 'Could not find the version number in the repository.' + ), + null, null, $this->slug + ); + return null; + } + //Try parsing readme.txt. If it's formatted according to WordPress.org standards, it will contain //a lot of useful information like the required/tested WP version, changelog, and so on. if ( $this->readmeTxtExistsLocally() ) { diff --git a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/Vcs/Reference.php b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/Vcs/Reference.php similarity index 95% rename from vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/Vcs/Reference.php rename to vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/Vcs/Reference.php index 6cff32a..7f6988a 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p1/Vcs/Reference.php +++ b/vendor/yahnis-elsts/plugin-update-checker/Puc/v5p3/Vcs/Reference.php @@ -1,5 +1,5 @@ $pucVersionedClass ) { - MajorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.1'); + MajorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.3'); //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'); + MinorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.3'); } diff --git a/vendor/yahnis-elsts/plugin-update-checker/plugin-update-checker.php b/vendor/yahnis-elsts/plugin-update-checker/plugin-update-checker.php index ebf10bc..7a9268c 100644 --- a/vendor/yahnis-elsts/plugin-update-checker/plugin-update-checker.php +++ b/vendor/yahnis-elsts/plugin-update-checker/plugin-update-checker.php @@ -1,10 +1,10 @@