Changeset 2859811
- Timestamp:
- 02/03/2023 06:49:52 PM (3 years ago)
- Location:
- nextgen-gallery/trunk
- Files:
-
- 6 edited
-
changelog.txt (modified) (1 diff)
-
nggallery.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/composer/ClassLoader.php (modified) (4 diffs)
-
vendor/composer/LICENSE (modified) (2 diffs)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nextgen-gallery/trunk/changelog.txt
r2859186 r2859811 1 1 NextGEN Gallery 2 2 by Imagely 3 4 = V3.35 - 02.03.2023 = 5 * Fixed: Sites still using PHP 5.6 experience a fatal error due to an incompatibility with the latest version of Composer. 3 6 4 7 = V3.34 - 02.02.2023 = -
nextgen-gallery/trunk/nggallery.php
r2859186 r2859811 5 5 * Plugin Name: NextGEN Gallery 6 6 * Description: The most popular gallery plugin for WordPress and one of the most popular plugins of all time with over 30 million downloads. 7 * Version: 3.3 47 * Version: 3.35 8 8 * Author: Imagely 9 9 * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/ … … 684 684 define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules')); 685 685 define('NGG_PLUGIN_STARTED_AT', microtime()); 686 define('NGG_PLUGIN_VERSION', '3.3 4');686 define('NGG_PLUGIN_VERSION', '3.35'); 687 687 688 688 define( -
nextgen-gallery/trunk/readme.txt
r2859186 r2859811 3 3 Tags: wordpress gallery plugin, gallery, nextgen, nextgen gallery, photo gallery, image gallery, photography, slideshow, images, photo, photo album, watermark 4 4 Requires at least: 5.5.4 5 Stable tag: 3.3 45 Stable tag: 3.35 6 6 Tested up to: 6.1.1 7 7 License: GPLv3 … … 179 179 180 180 == Changelog == 181 182 = V3.35 - 02.03.2023 = 183 * Fixed: Sites still using PHP 5.6 experience a fatal error due to an incompatibility with the latest version of Composer. 181 184 182 185 = V3.34 - 02.02.2023 = -
nextgen-gallery/trunk/vendor/composer/ClassLoader.php
r2859186 r2859811 43 43 class ClassLoader 44 44 { 45 /** @var \Closure(string):void */46 private static $includeFile;47 48 45 /** @var ?string */ 49 46 private $vendorDir; … … 110 107 { 111 108 $this->vendorDir = $vendorDir; 112 self::initializeIncludeClosure();113 109 } 114 110 … … 430 426 { 431 427 if ($file = $this->findFile($class)) { 432 (self::$includeFile)($file);428 includeFile($file); 433 429 434 430 return true; … … 560 556 return false; 561 557 } 562 563 private static function initializeIncludeClosure(): void564 {565 if (self::$includeFile !== null) {566 return;567 }568 569 /**570 * Scope isolated include.571 *572 * Prevents access to $this/self from included files.573 *574 * @param string $file575 * @return void576 */577 self::$includeFile = static function($file) {578 include $file;579 };580 }581 558 } 559 560 /** 561 * Scope isolated include. 562 * 563 * Prevents access to $this/self from included files. 564 * 565 * @param string $file 566 * @return void 567 * @private 568 */ 569 function includeFile($file) 570 { 571 include $file; 572 } -
nextgen-gallery/trunk/vendor/composer/LICENSE
r2534470 r2859811 1 1 2 Copyright (c) Nils Adermann, Jordi Boggiano 2 3 … … 18 19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 20 THE SOFTWARE. 21 -
nextgen-gallery/trunk/vendor/composer/autoload_real.php
r2859186 r2859811 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit004157cb5085dc071ae6f8aa09fb1dbe::$files; 37 $requireFile = static function ($fileIdentifier, $file) { 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 39 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 40 41 require $file; 42 } 43 }; 44 foreach ($filesToLoad as $fileIdentifier => $file) { 45 ($requireFile)($fileIdentifier, $file); 36 $includeFiles = \Composer\Autoload\ComposerStaticInit004157cb5085dc071ae6f8aa09fb1dbe::$files; 37 foreach ($includeFiles as $fileIdentifier => $file) { 38 composerRequire004157cb5085dc071ae6f8aa09fb1dbe($fileIdentifier, $file); 46 39 } 47 40 … … 49 42 } 50 43 } 44 45 /** 46 * @param string $fileIdentifier 47 * @param string $file 48 * @return void 49 */ 50 function composerRequire004157cb5085dc071ae6f8aa09fb1dbe($fileIdentifier, $file) 51 { 52 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 53 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 54 55 require $file; 56 } 57 }
Note: See TracChangeset
for help on using the changeset viewer.