Plugin Directory

Changeset 3405828


Ignore:
Timestamp:
11/29/2025 02:41:37 PM (4 months ago)
Author:
wpfolderly
Message:

Update compatibility with WordPress 6.9

Location:
folderly/trunk
Files:
228 added
9 edited

Legend:

Unmodified
Added
Removed
  • folderly/trunk/composer.json

    r3163296 r3405828  
    1414    }
    1515  ],
    16   "minimum-stability": "stable"
     16  "minimum-stability": "stable",
     17  "require": {
     18    "freemius/wordpress-sdk": "^2.13"
     19  }
    1720}
  • folderly/trunk/composer.lock

    r3326148 r3405828  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "09e5f748c498effcd23c53662d74a5ae",
    8     "packages": [],
    9     "packages-dev": [
     7    "content-hash": "9890da70ac13dfe460d2d911d4805e37",
     8    "packages": [
    109        {
    11             "name": "php-stubs/wordpress-stubs",
    12             "version": "v6.8.1",
     10            "name": "freemius/wordpress-sdk",
     11            "version": "2.13.0",
    1312            "source": {
    1413                "type": "git",
    15                 "url": "https://github.com/php-stubs/wordpress-stubs.git",
    16                 "reference": "92e444847d94f7c30f88c60004648f507688acd5"
     14                "url": "https://github.com/Freemius/wordpress-sdk.git",
     15                "reference": "3cbe98b5bd0b0fb5ca4df97b8088592737ea4375"
    1716            },
    1817            "dist": {
    1918                "type": "zip",
    20                 "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/92e444847d94f7c30f88c60004648f507688acd5",
    21                 "reference": "92e444847d94f7c30f88c60004648f507688acd5",
     19                "url": "https://api.github.com/repos/Freemius/wordpress-sdk/zipball/3cbe98b5bd0b0fb5ca4df97b8088592737ea4375",
     20                "reference": "3cbe98b5bd0b0fb5ca4df97b8088592737ea4375",
    2221                "shasum": ""
    2322            },
    24             "conflict": {
    25                 "phpdocumentor/reflection-docblock": "5.6.1"
     23            "require": {
     24                "php": ">=5.6"
    2625            },
    2726            "require-dev": {
    2827                "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    29                 "nikic/php-parser": "^5.4",
    30                 "php": "^7.4 || ^8.0",
    31                 "php-stubs/generator": "^0.8.3",
    32                 "phpdocumentor/reflection-docblock": "^5.4.1",
    33                 "phpstan/phpstan": "^2.1",
    34                 "phpunit/phpunit": "^9.5",
    35                 "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1",
    36                 "wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
     28                "phpcompatibility/php-compatibility": "^9.3",
     29                "phpcompatibility/phpcompatibility-wp": "^2.1",
     30                "phpstan/extension-installer": "^1.3",
     31                "squizlabs/php_codesniffer": "^3.7",
     32                "szepeviktor/phpstan-wordpress": "^1.3",
     33                "wp-coding-standards/wpcs": "^2.3"
    3734            },
    38             "suggest": {
    39                 "paragonie/sodium_compat": "Pure PHP implementation of libsodium",
    40                 "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
    41                 "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
    42             },
    43             "type": "library",
    44             "notification-url": "https://packagist.org/downloads/",
    45             "license": [
    46                 "MIT"
    47             ],
    48             "description": "WordPress function and class declaration stubs for static analysis.",
    49             "homepage": "https://github.com/php-stubs/wordpress-stubs",
    50             "keywords": [
    51                 "PHPStan",
    52                 "static analysis",
    53                 "wordpress"
    54             ],
    55             "support": {
    56                 "issues": "https://github.com/php-stubs/wordpress-stubs/issues",
    57                 "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.1"
    58             },
    59             "time": "2025-05-02T12:33:34+00:00"
    60         },
    61         {
    62             "name": "phpstan/phpstan",
    63             "version": "1.12.27",
    64             "source": {
    65                 "type": "git",
    66                 "url": "https://github.com/phpstan/phpstan.git",
    67                 "reference": "3a6e423c076ab39dfedc307e2ac627ef579db162"
    68             },
    69             "dist": {
    70                 "type": "zip",
    71                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/3a6e423c076ab39dfedc307e2ac627ef579db162",
    72                 "reference": "3a6e423c076ab39dfedc307e2ac627ef579db162",
    73                 "shasum": ""
    74             },
    75             "require": {
    76                 "php": "^7.2|^8.0"
    77             },
    78             "conflict": {
    79                 "phpstan/phpstan-shim": "*"
    80             },
    81             "bin": [
    82                 "phpstan",
    83                 "phpstan.phar"
    84             ],
    8535            "type": "library",
    8636            "autoload": {
    8737                "files": [
    88                     "bootstrap.php"
     38                    "start.php"
    8939                ]
    9040            },
    9141            "notification-url": "https://packagist.org/downloads/",
    9242            "license": [
    93                 "MIT"
     43                "GPL-3.0-only"
    9444            ],
    95             "description": "PHPStan - PHP Static Analysis Tool",
     45            "description": "Freemius WordPress SDK",
     46            "homepage": "https://freemius.com",
    9647            "keywords": [
    97                 "dev",
    98                 "static analysis"
     48                "freemius",
     49                "plugin",
     50                "sdk",
     51                "theme",
     52                "wordpress",
     53                "wordpress-plugin",
     54                "wordpress-theme"
    9955            ],
    10056            "support": {
    101                 "docs": "https://phpstan.org/user-guide/getting-started",
    102                 "forum": "https://github.com/phpstan/phpstan/discussions",
    103                 "issues": "https://github.com/phpstan/phpstan/issues",
    104                 "security": "https://github.com/phpstan/phpstan/security/policy",
    105                 "source": "https://github.com/phpstan/phpstan-src"
     57                "issues": "https://github.com/Freemius/wordpress-sdk/issues",
     58                "source": "https://github.com/Freemius/wordpress-sdk/tree/2.13.0"
    10659            },
    107             "funding": [
    108                 {
    109                     "url": "https://github.com/ondrejmirtes",
    110                     "type": "github"
    111                 },
    112                 {
    113                     "url": "https://github.com/phpstan",
    114                     "type": "github"
    115                 }
    116             ],
    117             "time": "2025-05-21T20:51:45+00:00"
    118         },
    119         {
    120             "name": "symfony/polyfill-php73",
    121             "version": "v1.32.0",
    122             "source": {
    123                 "type": "git",
    124                 "url": "https://github.com/symfony/polyfill-php73.git",
    125                 "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb"
    126             },
    127             "dist": {
    128                 "type": "zip",
    129                 "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/0f68c03565dcaaf25a890667542e8bd75fe7e5bb",
    130                 "reference": "0f68c03565dcaaf25a890667542e8bd75fe7e5bb",
    131                 "shasum": ""
    132             },
    133             "require": {
    134                 "php": ">=7.2"
    135             },
    136             "type": "library",
    137             "extra": {
    138                 "thanks": {
    139                     "url": "https://github.com/symfony/polyfill",
    140                     "name": "symfony/polyfill"
    141                 }
    142             },
    143             "autoload": {
    144                 "files": [
    145                     "bootstrap.php"
    146                 ],
    147                 "psr-4": {
    148                     "Symfony\\Polyfill\\Php73\\": ""
    149                 },
    150                 "classmap": [
    151                     "Resources/stubs"
    152                 ]
    153             },
    154             "notification-url": "https://packagist.org/downloads/",
    155             "license": [
    156                 "MIT"
    157             ],
    158             "authors": [
    159                 {
    160                     "name": "Nicolas Grekas",
    161                     "email": "p@tchwork.com"
    162                 },
    163                 {
    164                     "name": "Symfony Community",
    165                     "homepage": "https://symfony.com/contributors"
    166                 }
    167             ],
    168             "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions",
    169             "homepage": "https://symfony.com",
    170             "keywords": [
    171                 "compatibility",
    172                 "polyfill",
    173                 "portable",
    174                 "shim"
    175             ],
    176             "support": {
    177                 "source": "https://github.com/symfony/polyfill-php73/tree/v1.32.0"
    178             },
    179             "funding": [
    180                 {
    181                     "url": "https://symfony.com/sponsor",
    182                     "type": "custom"
    183                 },
    184                 {
    185                     "url": "https://github.com/fabpot",
    186                     "type": "github"
    187                 },
    188                 {
    189                     "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
    190                     "type": "tidelift"
    191                 }
    192             ],
    193             "time": "2024-09-09T11:45:10+00:00"
    194         },
    195         {
    196             "name": "szepeviktor/phpstan-wordpress",
    197             "version": "v1.3.5",
    198             "source": {
    199                 "type": "git",
    200                 "url": "https://github.com/szepeviktor/phpstan-wordpress.git",
    201                 "reference": "7f8cfe992faa96b6a33bbd75c7bace98864161e7"
    202             },
    203             "dist": {
    204                 "type": "zip",
    205                 "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/7f8cfe992faa96b6a33bbd75c7bace98864161e7",
    206                 "reference": "7f8cfe992faa96b6a33bbd75c7bace98864161e7",
    207                 "shasum": ""
    208             },
    209             "require": {
    210                 "php": "^7.2 || ^8.0",
    211                 "php-stubs/wordpress-stubs": "^4.7 || ^5.0 || ^6.0",
    212                 "phpstan/phpstan": "^1.10.31",
    213                 "symfony/polyfill-php73": "^1.12.0"
    214             },
    215             "require-dev": {
    216                 "composer/composer": "^2.1.14",
    217                 "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    218                 "php-parallel-lint/php-parallel-lint": "^1.1",
    219                 "phpstan/phpstan-strict-rules": "^1.2",
    220                 "phpunit/phpunit": "^8.0 || ^9.0",
    221                 "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.0",
    222                 "wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
    223             },
    224             "suggest": {
    225                 "swissspidy/phpstan-no-private": "Detect usage of internal core functions, classes and methods"
    226             },
    227             "type": "phpstan-extension",
    228             "extra": {
    229                 "phpstan": {
    230                     "includes": [
    231                         "extension.neon"
    232                     ]
    233                 }
    234             },
    235             "autoload": {
    236                 "psr-4": {
    237                     "SzepeViktor\\PHPStan\\WordPress\\": "src/"
    238                 }
    239             },
    240             "notification-url": "https://packagist.org/downloads/",
    241             "license": [
    242                 "MIT"
    243             ],
    244             "description": "WordPress extensions for PHPStan",
    245             "keywords": [
    246                 "PHPStan",
    247                 "code analyse",
    248                 "code analysis",
    249                 "static analysis",
    250                 "wordpress"
    251             ],
    252             "support": {
    253                 "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues",
    254                 "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v1.3.5"
    255             },
    256             "time": "2024-06-28T22:27:19+00:00"
     60            "time": "2025-11-11T07:52:08+00:00"
    25761        }
    25862    ],
     63    "packages-dev": [],
    25964    "aliases": [],
    26065    "minimum-stability": "stable",
  • folderly/trunk/folderly.php

    r3384198 r3405828  
    1111 * Domain Path:       /languages
    1212 * License:           GPLv2 or later
    13  * Version:           0.3.1
     13 * Version:           0.3.2
    1414 *
    1515 * @package         Folderly
     
    1818defined( 'ABSPATH' ) || exit;
    1919
    20 define( 'FOLDERLY_VERSION', '0.3.1' );
    21 define( 'FOLDERLY_DB_VERSION', '0.3.1' );
     20define( 'FOLDERLY_VERSION', '0.3.2' );
     21define( 'FOLDERLY_DB_VERSION', '0.3.2' );
    2222define( 'FOLDERLY_URL', plugin_dir_url( __FILE__ ) );
    2323define( 'FOLDERLY_PATH', plugin_dir_path( __FILE__ ) );
     
    4141
    4242folderly();
     43
     44require_once __DIR__ . '/freemius.php';
  • folderly/trunk/readme.txt

    r3384208 r3405828  
    44Tags: file manager, media folder, wordpress media folders, media folders, folders
    55Requires at least: 5.6
    6 Tested up to: 6.8.1
     6Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 0.3.1
     8Stable tag: 0.3.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    198198= 0.3.1 =
    199199- Updated capability checks to restrict sensitive REST API actions to admins
     200
     201= 0.3.2 =
     202- Compatibility with WordPress 6.9
  • folderly/trunk/vendor/autoload.php

    r3326148 r3405828  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit7884516eb7d04edbd1a62a3f8d0cbe45::getLoader();
     25return ComposerAutoloaderInit2a9cf744a2673567c80c671062b745da::getLoader();
  • folderly/trunk/vendor/composer/autoload_real.php

    r3326148 r3405828  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit7884516eb7d04edbd1a62a3f8d0cbe45
     5class ComposerAutoloaderInit2a9cf744a2673567c80c671062b745da
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit7884516eb7d04edbd1a62a3f8d0cbe45', 'loadClassLoader'), true, true);
     25        require __DIR__ . '/platform_check.php';
     26
     27        spl_autoload_register(array('ComposerAutoloaderInit2a9cf744a2673567c80c671062b745da', 'loadClassLoader'), true, true);
    2628        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit7884516eb7d04edbd1a62a3f8d0cbe45', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit2a9cf744a2673567c80c671062b745da', 'loadClassLoader'));
    2830
    2931        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit7884516eb7d04edbd1a62a3f8d0cbe45::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInit2a9cf744a2673567c80c671062b745da::getInitializer($loader));
    3133
    3234        $loader->register(true);
     35
     36        $includeFiles = \Composer\Autoload\ComposerStaticInit2a9cf744a2673567c80c671062b745da::$files;
     37        foreach ($includeFiles as $fileIdentifier => $file) {
     38            composerRequire2a9cf744a2673567c80c671062b745da($fileIdentifier, $file);
     39        }
    3340
    3441        return $loader;
    3542    }
    3643}
     44
     45/**
     46 * @param string $fileIdentifier
     47 * @param string $file
     48 * @return void
     49 */
     50function composerRequire2a9cf744a2673567c80c671062b745da($fileIdentifier, $file)
     51{
     52    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
     53        $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
     54
     55        require $file;
     56    }
     57}
  • folderly/trunk/vendor/composer/autoload_static.php

    r3326148 r3405828  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit7884516eb7d04edbd1a62a3f8d0cbe45
     7class ComposerStaticInit2a9cf744a2673567c80c671062b745da
    88{
     9    public static $files = array (
     10        '8d50dc88e56bace65e1e72f6017983ed' => __DIR__ . '/..' . '/freemius/wordpress-sdk/start.php',
     11    );
     12
    913    public static $prefixLengthsPsr4 = array (
    1014        'F' =>
     
    2832    {
    2933        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit7884516eb7d04edbd1a62a3f8d0cbe45::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit7884516eb7d04edbd1a62a3f8d0cbe45::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit7884516eb7d04edbd1a62a3f8d0cbe45::$classMap;
     34            $loader->prefixLengthsPsr4 = ComposerStaticInit2a9cf744a2673567c80c671062b745da::$prefixLengthsPsr4;
     35            $loader->prefixDirsPsr4 = ComposerStaticInit2a9cf744a2673567c80c671062b745da::$prefixDirsPsr4;
     36            $loader->classMap = ComposerStaticInit2a9cf744a2673567c80c671062b745da::$classMap;
    3337
    3438        }, null, ClassLoader::class);
  • folderly/trunk/vendor/composer/installed.json

    r3163296 r3405828  
    11{
    2     "packages": [],
     2    "packages": [
     3        {
     4            "name": "freemius/wordpress-sdk",
     5            "version": "2.13.0",
     6            "version_normalized": "2.13.0.0",
     7            "source": {
     8                "type": "git",
     9                "url": "https://github.com/Freemius/wordpress-sdk.git",
     10                "reference": "3cbe98b5bd0b0fb5ca4df97b8088592737ea4375"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/Freemius/wordpress-sdk/zipball/3cbe98b5bd0b0fb5ca4df97b8088592737ea4375",
     15                "reference": "3cbe98b5bd0b0fb5ca4df97b8088592737ea4375",
     16                "shasum": ""
     17            },
     18            "require": {
     19                "php": ">=5.6"
     20            },
     21            "require-dev": {
     22                "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
     23                "phpcompatibility/php-compatibility": "^9.3",
     24                "phpcompatibility/phpcompatibility-wp": "^2.1",
     25                "phpstan/extension-installer": "^1.3",
     26                "squizlabs/php_codesniffer": "^3.7",
     27                "szepeviktor/phpstan-wordpress": "^1.3",
     28                "wp-coding-standards/wpcs": "^2.3"
     29            },
     30            "time": "2025-11-11T07:52:08+00:00",
     31            "type": "library",
     32            "installation-source": "dist",
     33            "autoload": {
     34                "files": [
     35                    "start.php"
     36                ]
     37            },
     38            "notification-url": "https://packagist.org/downloads/",
     39            "license": [
     40                "GPL-3.0-only"
     41            ],
     42            "description": "Freemius WordPress SDK",
     43            "homepage": "https://freemius.com",
     44            "keywords": [
     45                "freemius",
     46                "plugin",
     47                "sdk",
     48                "theme",
     49                "wordpress",
     50                "wordpress-plugin",
     51                "wordpress-theme"
     52            ],
     53            "support": {
     54                "issues": "https://github.com/Freemius/wordpress-sdk/issues",
     55                "source": "https://github.com/Freemius/wordpress-sdk/tree/2.13.0"
     56            },
     57            "install-path": "../freemius/wordpress-sdk"
     58        }
     59    ],
    360    "dev": false,
    461    "dev-package-names": []
  • folderly/trunk/vendor/composer/installed.php

    r3326148 r3405828  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '841fe333c011eb20f633492771e499215d447b76',
     6        'reference' => '8cc71417454e3431353072ae7bce899048571454',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1111    ),
    1212    'versions' => array(
     13        'freemius/wordpress-sdk' => array(
     14            'pretty_version' => '2.13.0',
     15            'version' => '2.13.0.0',
     16            'reference' => '3cbe98b5bd0b0fb5ca4df97b8088592737ea4375',
     17            'type' => 'library',
     18            'install_path' => __DIR__ . '/../freemius/wordpress-sdk',
     19            'aliases' => array(),
     20            'dev_requirement' => false,
     21        ),
    1322        'wpfolderly/folderly' => array(
    1423            'pretty_version' => 'dev-main',
    1524            'version' => 'dev-main',
    16             'reference' => '841fe333c011eb20f633492771e499215d447b76',
     25            'reference' => '8cc71417454e3431353072ae7bce899048571454',
    1726            'type' => 'library',
    1827            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.