Plugin Directory

Changeset 2859811


Ignore:
Timestamp:
02/03/2023 06:49:52 PM (3 years ago)
Author:
photocrati
Message:

Released 3.35

Location:
nextgen-gallery/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • nextgen-gallery/trunk/changelog.txt

    r2859186 r2859811  
    11NextGEN Gallery
    22by 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.
    36
    47= V3.34  - 02.02.2023 =
  • nextgen-gallery/trunk/nggallery.php

    r2859186 r2859811  
    55 * Plugin Name: NextGEN Gallery
    66 * 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.34
     7 * Version: 3.35
    88 * Author: Imagely
    99 * Plugin URI: https://www.imagely.com/wordpress-gallery-plugin/nextgen-gallery/
     
    684684        define('NGG_MODULE_URL', path_join(str_replace("\\", '/', NGG_PRODUCT_URL), 'photocrati_nextgen/modules'));
    685685        define('NGG_PLUGIN_STARTED_AT', microtime());
    686         define('NGG_PLUGIN_VERSION', '3.34');
     686        define('NGG_PLUGIN_VERSION', '3.35');
    687687
    688688        define(
  • nextgen-gallery/trunk/readme.txt

    r2859186 r2859811  
    33Tags: wordpress gallery plugin, gallery, nextgen, nextgen gallery, photo gallery, image gallery, photography, slideshow, images, photo, photo album, watermark
    44Requires at least: 5.5.4
    5 Stable tag: 3.34
     5Stable tag: 3.35
    66Tested up to: 6.1.1
    77License: GPLv3
     
    179179
    180180== 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.
    181184
    182185= V3.34  - 02.02.2023 =
  • nextgen-gallery/trunk/vendor/composer/ClassLoader.php

    r2859186 r2859811  
    4343class ClassLoader
    4444{
    45     /** @var \Closure(string):void */
    46     private static $includeFile;
    47 
    4845    /** @var ?string */
    4946    private $vendorDir;
     
    110107    {
    111108        $this->vendorDir = $vendorDir;
    112         self::initializeIncludeClosure();
    113109    }
    114110
     
    430426    {
    431427        if ($file = $this->findFile($class)) {
    432             (self::$includeFile)($file);
     428            includeFile($file);
    433429
    434430            return true;
     
    560556        return false;
    561557    }
    562 
    563     private static function initializeIncludeClosure(): void
    564     {
    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 $file
    575          * @return void
    576          */
    577         self::$includeFile = static function($file) {
    578             include $file;
    579         };
    580     }
    581558}
     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 */
     569function includeFile($file)
     570{
     571    include $file;
     572}
  • nextgen-gallery/trunk/vendor/composer/LICENSE

    r2534470 r2859811  
     1
    12Copyright (c) Nils Adermann, Jordi Boggiano
    23
     
    1819OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    1920THE SOFTWARE.
     21
  • nextgen-gallery/trunk/vendor/composer/autoload_real.php

    r2859186 r2859811  
    3434        $loader->register(true);
    3535
    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);
    4639        }
    4740
     
    4942    }
    5043}
     44
     45/**
     46 * @param string $fileIdentifier
     47 * @param string $file
     48 * @return void
     49 */
     50function 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.