Plugin Directory

Changeset 3241442


Ignore:
Timestamp:
02/16/2025 04:21:08 PM (14 months ago)
Author:
codepopular
Message:

Version Released 1.1.7

Location:
wp-maximum-upload-file-size/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • wp-maximum-upload-file-size/trunk/composer.lock

    r2970521 r3241442  
    99        {
    1010            "name": "appsero/client",
    11             "version": "v1.2.4",
     11            "version": "v1.4.0",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/Appsero/client.git",
    15                 "reference": "a5f23a117b6f3080e85969226735a96816460630"
     15                "reference": "43289d79f1d55de687f667b17a2834b986cc7b6e"
    1616            },
    1717            "dist": {
    1818                "type": "zip",
    19                 "url": "https://api.github.com/repos/Appsero/client/zipball/a5f23a117b6f3080e85969226735a96816460630",
    20                 "reference": "a5f23a117b6f3080e85969226735a96816460630",
     19                "url": "https://api.github.com/repos/Appsero/client/zipball/43289d79f1d55de687f667b17a2834b986cc7b6e",
     20                "reference": "43289d79f1d55de687f667b17a2834b986cc7b6e",
    2121                "shasum": ""
    2222            },
     
    5757            "support": {
    5858                "issues": "https://github.com/Appsero/client/issues",
    59                 "source": "https://github.com/Appsero/client/tree/v1.2.4"
     59                "source": "https://github.com/Appsero/client/tree/v1.4.0"
    6060            },
    61             "time": "2023-09-05T10:38:08+00:00"
     61            "time": "2024-01-08T11:38:14+00:00"
    6262        }
    6363    ],
     
    6565    "aliases": [],
    6666    "minimum-stability": "stable",
    67     "stability-flags": [],
     67    "stability-flags": {},
    6868    "prefer-stable": false,
    6969    "prefer-lowest": false,
    70     "platform": [],
    71     "platform-dev": [],
    72     "plugin-api-version": "2.3.0"
     70    "platform": {},
     71    "platform-dev": {},
     72    "plugin-api-version": "2.6.0"
    7373}
  • wp-maximum-upload-file-size/trunk/readme.txt

    r3220902 r3241442  
    66Requires PHP: 5.6
    77Tested up to: 6.7
    8 Stable tag: 1.1.6
     8Stable tag: 1.1.7
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161== Changelog ==
    6262
     63
     641.1.7
     65-------------
     66* Tracking usage data allow/disallow issue fixed.
    6367
    64681.1.6
  • wp-maximum-upload-file-size/trunk/vendor/appsero/client/.github/workflows/wpcs.yml

    r2924296 r3241442  
    77    runs-on: ubuntu-latest
    88    steps:
    9       - uses: actions/checkout@v2
     9      - uses: actions/checkout@v3
    1010
    1111      - name: Setup PHP
     
    1818      - name: Get Composer cache directory
    1919        id: composer-cache
    20         run: echo "::set-output name=dir::$(composer config cache-files-dir)"
     20        run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
    2121
    2222      - name: Setup cache
    23         uses: pat-s/always-upload-cache@v1.1.4
     23        uses: pat-s/always-upload-cache@v3.0.11
    2424        with:
    2525          path: ${{ steps.composer-cache.outputs.dir }}
     
    3333        run: |
    3434          URL="https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files"
    35           FILES=$(curl -s -X GET -G $URL | jq -r '.[] | .filename' | xargs)
    36           echo "::set-output name=files::$FILES"
     35          FILES=$(curl -s -X GET -G $URL | jq -r '.[] | select (.status!="removed") | .filename | select ( endswith(".php") )' | xargs)
     36          echo "files=$FILES" >> $GITHUB_OUTPUT
     37         
    3738      - name: Detect coding standard violations
    3839        run: vendor/bin/phpcs ${{ steps.changes.outputs.files }} -q --report=checkstyle | cs2pr --graceful-warnings
  • wp-maximum-upload-file-size/trunk/vendor/appsero/client/readme.md

    r2970521 r3241442  
    11# AppSero Client
    2 ### Version 1.2.4
     2### Version 1.4.0
    33
    44- [Installation](#installation)
     
    7878    // Active insights
    7979    $client->insights()->init();
    80 
    81     // Active automatic updater
    82     $client->updater();
    8380
    8481    // Active license page and checker
  • wp-maximum-upload-file-size/trunk/vendor/appsero/client/src/Client.php

    r2970521 r3241442  
    1515     * @var string
    1616     */
    17     public $version = '1.2.4';
     17    public $version = '1.4.0';
    1818
    1919    /**
     
    8585     */
    8686    private $insights;
     87
    8788
    8889    /**
  • wp-maximum-upload-file-size/trunk/vendor/appsero/client/src/License.php

    r2970521 r3241442  
    610610            <form method="post" class="appsero-license-right-form" novalidate="novalidate" spellcheck="false">
    611611                <input type="hidden" name="_action" value="refresh">
    612                 <input type="hidden" name="_appsero_license_nonce" value="<?php echo wp_create_nonce( $this->client->name ); ?>">
     612                <input type="hidden" name="_nonce" value="<?php echo wp_create_nonce( $this->client->name ); ?>">
    613613                <button type="submit" name="submit" class="appsero-license-refresh-button">
    614614                    <span class="dashicons dashicons-update"></span>
  • wp-maximum-upload-file-size/trunk/vendor/composer/ClassLoader.php

    r2970521 r3241442  
    4646    private static $includeFile;
    4747
    48     /** @var ?string */
     48    /** @var string|null */
    4949    private $vendorDir;
    5050
    5151    // PSR-4
    5252    /**
    53      * @var array[]
    54      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5554     */
    5655    private $prefixLengthsPsr4 = array();
    5756    /**
    58      * @var array[]
    59      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    6058     */
    6159    private $prefixDirsPsr4 = array();
    6260    /**
    63      * @var array[]
    64      * @psalm-var array<string, string>
     61     * @var list<string>
    6562     */
    6663    private $fallbackDirsPsr4 = array();
     
    6865    // PSR-0
    6966    /**
    70      * @var array[]
    71      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    7272     */
    7373    private $prefixesPsr0 = array();
    7474    /**
    75      * @var array[]
    76      * @psalm-var array<string, string>
     75     * @var list<string>
    7776     */
    7877    private $fallbackDirsPsr0 = array();
     
    8281
    8382    /**
    84      * @var string[]
    85      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8684     */
    8785    private $classMap = array();
     
    9189
    9290    /**
    93      * @var bool[]
    94      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9592     */
    9693    private $missingClasses = array();
    9794
    98     /** @var ?string */
     95    /** @var string|null */
    9996    private $apcuPrefix;
    10097
    10198    /**
    102      * @var self[]
     99     * @var array<string, self>
    103100     */
    104101    private static $registeredLoaders = array();
    105102
    106103    /**
    107      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    108105     */
    109106    public function __construct($vendorDir = null)
     
    114111
    115112    /**
    116      * @return string[]
     113     * @return array<string, list<string>>
    117114     */
    118115    public function getPrefixes()
     
    126123
    127124    /**
    128      * @return array[]
    129      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    130126     */
    131127    public function getPrefixesPsr4()
     
    135131
    136132    /**
    137      * @return array[]
    138      * @psalm-return array<string, string>
     133     * @return list<string>
    139134     */
    140135    public function getFallbackDirs()
     
    144139
    145140    /**
    146      * @return array[]
    147      * @psalm-return array<string, string>
     141     * @return list<string>
    148142     */
    149143    public function getFallbackDirsPsr4()
     
    153147
    154148    /**
    155      * @return string[] Array of classname => path
    156      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    157150     */
    158151    public function getClassMap()
     
    162155
    163156    /**
    164      * @param string[] $classMap Class to filename map
    165      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    166158     *
    167159     * @return void
     
    180172     * appending or prepending to the ones previously set for this prefix.
    181173     *
    182      * @param string          $prefix  The prefix
    183      * @param string[]|string $paths   The PSR-0 root directories
    184      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    185177     *
    186178     * @return void
     
    188180    public function add($prefix, $paths, $prepend = false)
    189181    {
     182        $paths = (array) $paths;
    190183        if (!$prefix) {
    191184            if ($prepend) {
    192185                $this->fallbackDirsPsr0 = array_merge(
    193                     (array) $paths,
     186                    $paths,
    194187                    $this->fallbackDirsPsr0
    195188                );
     
    197190                $this->fallbackDirsPsr0 = array_merge(
    198191                    $this->fallbackDirsPsr0,
    199                     (array) $paths
     192                    $paths
    200193                );
    201194            }
     
    206199        $first = $prefix[0];
    207200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    208             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    209202
    210203            return;
     
    212205        if ($prepend) {
    213206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    214                 (array) $paths,
     207                $paths,
    215208                $this->prefixesPsr0[$first][$prefix]
    216209            );
     
    218211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    219212                $this->prefixesPsr0[$first][$prefix],
    220                 (array) $paths
     213                $paths
    221214            );
    222215        }
     
    227220     * appending or prepending to the ones previously set for this namespace.
    228221     *
    229      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    230      * @param string[]|string $paths   The PSR-4 base directories
    231      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    232225     *
    233226     * @throws \InvalidArgumentException
     
    237230    public function addPsr4($prefix, $paths, $prepend = false)
    238231    {
     232        $paths = (array) $paths;
    239233        if (!$prefix) {
    240234            // Register directories for the root namespace.
    241235            if ($prepend) {
    242236                $this->fallbackDirsPsr4 = array_merge(
    243                     (array) $paths,
     237                    $paths,
    244238                    $this->fallbackDirsPsr4
    245239                );
     
    247241                $this->fallbackDirsPsr4 = array_merge(
    248242                    $this->fallbackDirsPsr4,
    249                     (array) $paths
     243                    $paths
    250244                );
    251245            }
     
    257251            }
    258252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    259             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    260254        } elseif ($prepend) {
    261255            // Prepend directories for an already registered namespace.
    262256            $this->prefixDirsPsr4[$prefix] = array_merge(
    263                 (array) $paths,
     257                $paths,
    264258                $this->prefixDirsPsr4[$prefix]
    265259            );
     
    268262            $this->prefixDirsPsr4[$prefix] = array_merge(
    269263                $this->prefixDirsPsr4[$prefix],
    270                 (array) $paths
     264                $paths
    271265            );
    272266        }
     
    277271     * replacing any others previously set for this prefix.
    278272     *
    279      * @param string          $prefix The prefix
    280      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    281275     *
    282276     * @return void
     
    295289     * replacing any others previously set for this namespace.
    296290     *
    297      * @param string          $prefix The prefix/namespace, with trailing '\\'
    298      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    299293     *
    300294     * @throws \InvalidArgumentException
     
    482476
    483477    /**
    484      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    485      *
    486      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    487481     */
    488482    public static function getRegisteredLoaders()
  • wp-maximum-upload-file-size/trunk/vendor/composer/InstalledVersions.php

    r2970521 r3241442  
    3232     */
    3333    private static $installed;
     34
     35    /**
     36     * @var bool
     37     */
     38    private static $installedIsLocalDir;
    3439
    3540    /**
     
    310315        self::$installed = $data;
    311316        self::$installedByVendor = array();
     317
     318        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     319        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     320        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     321        // all installed packages for example
     322        self::$installedIsLocalDir = false;
    312323    }
    313324
     
    323334
    324335        $installed = array();
     336        $copiedLocalDir = false;
    325337
    326338        if (self::$canGetVendors) {
     339            $selfDir = strtr(__DIR__, '\\', '/');
    327340            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     341                $vendorDir = strtr($vendorDir, '\\', '/');
    328342                if (isset(self::$installedByVendor[$vendorDir])) {
    329343                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331345                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    332346                    $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    334                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335                         self::$installed = $installed[count($installed) - 1];
     347                    self::$installedByVendor[$vendorDir] = $required;
     348                    $installed[] = $required;
     349                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
     350                        self::$installed = $required;
     351                        self::$installedIsLocalDir = true;
    336352                    }
     353                }
     354                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     355                    $copiedLocalDir = true;
    337356                }
    338357            }
     
    351370        }
    352371
    353         if (self::$installed !== array()) {
     372        if (self::$installed !== array() && !$copiedLocalDir) {
    354373            $installed[] = self::$installed;
    355374        }
  • wp-maximum-upload-file-size/trunk/vendor/composer/installed.json

    r2970521 r3241442  
    33        {
    44            "name": "appsero/client",
    5             "version": "v1.2.4",
    6             "version_normalized": "1.2.4.0",
     5            "version": "v1.4.0",
     6            "version_normalized": "1.4.0.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/Appsero/client.git",
    10                 "reference": "a5f23a117b6f3080e85969226735a96816460630"
     10                "reference": "43289d79f1d55de687f667b17a2834b986cc7b6e"
    1111            },
    1212            "dist": {
    1313                "type": "zip",
    14                 "url": "https://api.github.com/repos/Appsero/client/zipball/a5f23a117b6f3080e85969226735a96816460630",
    15                 "reference": "a5f23a117b6f3080e85969226735a96816460630",
     14                "url": "https://api.github.com/repos/Appsero/client/zipball/43289d79f1d55de687f667b17a2834b986cc7b6e",
     15                "reference": "43289d79f1d55de687f667b17a2834b986cc7b6e",
    1616                "shasum": ""
    1717            },
     
    2727                "wp-coding-standards/wpcs": "dev-develop"
    2828            },
    29             "time": "2023-09-05T10:38:08+00:00",
     29            "time": "2024-01-08T11:38:14+00:00",
    3030            "type": "library",
    3131            "installation-source": "dist",
     
    5454            "support": {
    5555                "issues": "https://github.com/Appsero/client/issues",
    56                 "source": "https://github.com/Appsero/client/tree/v1.2.4"
     56                "source": "https://github.com/Appsero/client/tree/v1.4.0"
    5757            },
    5858            "install-path": "../appsero/client"
  • wp-maximum-upload-file-size/trunk/vendor/composer/installed.php

    r2970521 r3241442  
    44        'pretty_version' => 'dev-master',
    55        'version' => 'dev-master',
    6         'reference' => '6acd566d99156ebcc0ce19b7fab2374896859113',
     6        'reference' => 'bddddb6b10dcde8f80d0ed5f9708dbfeed82d2e3',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-master',
    1515            'version' => 'dev-master',
    16             'reference' => '6acd566d99156ebcc0ce19b7fab2374896859113',
     16            'reference' => 'bddddb6b10dcde8f80d0ed5f9708dbfeed82d2e3',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'appsero/client' => array(
    23             'pretty_version' => 'v1.2.4',
    24             'version' => '1.2.4.0',
    25             'reference' => 'a5f23a117b6f3080e85969226735a96816460630',
     23            'pretty_version' => 'v1.4.0',
     24            'version' => '1.4.0.0',
     25            'reference' => '43289d79f1d55de687f667b17a2834b986cc7b6e',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../appsero/client',
  • wp-maximum-upload-file-size/trunk/wp-maximum-upload-file-size.php

    r3220902 r3241442  
    66* Author URI: https://codepopular.com
    77* Plugin URI: https://wordpress.org/plugins/wp-maximum-upload-file-size/
    8 * Version: 1.1.6
     8* Version: 1.1.7
    99* License: GPL2
    1010* Text Domain: wp-maximum-upload-file-size
     
    1919define('WMUFS_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__)));
    2020define('WMUFS_PLUGIN_URL', trailingslashit(plugins_url('/', __FILE__)));
    21 define('WMUFS_PLUGIN_VERSION', '1.1.6');
     21define('WMUFS_PLUGIN_VERSION', '1.1.7');
    2222/**
    2323 * Increase maximum execution time.
     
    6060}
    6161
    62 add_action( 'admin_init', 'appsero_init_tracker_wp_maximum_upload_file_size' );
     62add_action( 'init', 'appsero_init_tracker_wp_maximum_upload_file_size' );
Note: See TracChangeset for help on using the changeset viewer.