Changeset 3241442
- Timestamp:
- 02/16/2025 04:21:08 PM (14 months ago)
- Location:
- wp-maximum-upload-file-size/trunk
- Files:
-
- 11 edited
-
composer.lock (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/appsero/client/.github/workflows/wpcs.yml (modified) (3 diffs)
-
vendor/appsero/client/readme.md (modified) (2 diffs)
-
vendor/appsero/client/src/Client.php (modified) (2 diffs)
-
vendor/appsero/client/src/License.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (24 diffs)
-
vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
vendor/composer/installed.json (modified) (3 diffs)
-
vendor/composer/installed.php (modified) (3 diffs)
-
wp-maximum-upload-file-size.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-maximum-upload-file-size/trunk/composer.lock
r2970521 r3241442 9 9 { 10 10 "name": "appsero/client", 11 "version": "v1. 2.4",11 "version": "v1.4.0", 12 12 "source": { 13 13 "type": "git", 14 14 "url": "https://github.com/Appsero/client.git", 15 "reference": " a5f23a117b6f3080e85969226735a96816460630"15 "reference": "43289d79f1d55de687f667b17a2834b986cc7b6e" 16 16 }, 17 17 "dist": { 18 18 "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", 21 21 "shasum": "" 22 22 }, … … 57 57 "support": { 58 58 "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" 60 60 }, 61 "time": "202 3-09-05T10:38:08+00:00"61 "time": "2024-01-08T11:38:14+00:00" 62 62 } 63 63 ], … … 65 65 "aliases": [], 66 66 "minimum-stability": "stable", 67 "stability-flags": [],67 "stability-flags": {}, 68 68 "prefer-stable": false, 69 69 "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" 73 73 } -
wp-maximum-upload-file-size/trunk/readme.txt
r3220902 r3241442 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.7 8 Stable tag: 1.1. 68 Stable tag: 1.1.7 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 61 61 == Changelog == 62 62 63 64 1.1.7 65 ------------- 66 * Tracking usage data allow/disallow issue fixed. 63 67 64 68 1.1.6 -
wp-maximum-upload-file-size/trunk/vendor/appsero/client/.github/workflows/wpcs.yml
r2924296 r3241442 7 7 runs-on: ubuntu-latest 8 8 steps: 9 - uses: actions/checkout@v 29 - uses: actions/checkout@v3 10 10 11 11 - name: Setup PHP … … 18 18 - name: Get Composer cache directory 19 19 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 21 21 22 22 - name: Setup cache 23 uses: pat-s/always-upload-cache@v 1.1.423 uses: pat-s/always-upload-cache@v3.0.11 24 24 with: 25 25 path: ${{ steps.composer-cache.outputs.dir }} … … 33 33 run: | 34 34 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 37 38 - name: Detect coding standard violations 38 39 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 1 1 # AppSero Client 2 ### Version 1. 2.42 ### Version 1.4.0 3 3 4 4 - [Installation](#installation) … … 78 78 // Active insights 79 79 $client->insights()->init(); 80 81 // Active automatic updater82 $client->updater();83 80 84 81 // Active license page and checker -
wp-maximum-upload-file-size/trunk/vendor/appsero/client/src/Client.php
r2970521 r3241442 15 15 * @var string 16 16 */ 17 public $version = '1. 2.4';17 public $version = '1.4.0'; 18 18 19 19 /** … … 85 85 */ 86 86 private $insights; 87 87 88 88 89 /** -
wp-maximum-upload-file-size/trunk/vendor/appsero/client/src/License.php
r2970521 r3241442 610 610 <form method="post" class="appsero-license-right-form" novalidate="novalidate" spellcheck="false"> 611 611 <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 ); ?>"> 613 613 <button type="submit" name="submit" class="appsero-license-refresh-button"> 614 614 <span class="dashicons dashicons-update"></span> -
wp-maximum-upload-file-size/trunk/vendor/composer/ClassLoader.php
r2970521 r3241442 46 46 private static $includeFile; 47 47 48 /** @var ?string*/48 /** @var string|null */ 49 49 private $vendorDir; 50 50 51 51 // PSR-4 52 52 /** 53 * @var array[] 54 * @psalm-var array<string, array<string, int>> 53 * @var array<string, array<string, int>> 55 54 */ 56 55 private $prefixLengthsPsr4 = array(); 57 56 /** 58 * @var array[] 59 * @psalm-var array<string, array<int, string>> 57 * @var array<string, list<string>> 60 58 */ 61 59 private $prefixDirsPsr4 = array(); 62 60 /** 63 * @var array[] 64 * @psalm-var array<string, string> 61 * @var list<string> 65 62 */ 66 63 private $fallbackDirsPsr4 = array(); … … 68 65 // PSR-0 69 66 /** 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>>> 72 72 */ 73 73 private $prefixesPsr0 = array(); 74 74 /** 75 * @var array[] 76 * @psalm-var array<string, string> 75 * @var list<string> 77 76 */ 78 77 private $fallbackDirsPsr0 = array(); … … 82 81 83 82 /** 84 * @var string[] 85 * @psalm-var array<string, string> 83 * @var array<string, string> 86 84 */ 87 85 private $classMap = array(); … … 91 89 92 90 /** 93 * @var bool[] 94 * @psalm-var array<string, bool> 91 * @var array<string, bool> 95 92 */ 96 93 private $missingClasses = array(); 97 94 98 /** @var ?string*/95 /** @var string|null */ 99 96 private $apcuPrefix; 100 97 101 98 /** 102 * @var self[]99 * @var array<string, self> 103 100 */ 104 101 private static $registeredLoaders = array(); 105 102 106 103 /** 107 * @param ?string$vendorDir104 * @param string|null $vendorDir 108 105 */ 109 106 public function __construct($vendorDir = null) … … 114 111 115 112 /** 116 * @return string[]113 * @return array<string, list<string>> 117 114 */ 118 115 public function getPrefixes() … … 126 123 127 124 /** 128 * @return array[] 129 * @psalm-return array<string, array<int, string>> 125 * @return array<string, list<string>> 130 126 */ 131 127 public function getPrefixesPsr4() … … 135 131 136 132 /** 137 * @return array[] 138 * @psalm-return array<string, string> 133 * @return list<string> 139 134 */ 140 135 public function getFallbackDirs() … … 144 139 145 140 /** 146 * @return array[] 147 * @psalm-return array<string, string> 141 * @return list<string> 148 142 */ 149 143 public function getFallbackDirsPsr4() … … 153 147 154 148 /** 155 * @return string[] Array of classname => path 156 * @psalm-return array<string, string> 149 * @return array<string, string> Array of classname => path 157 150 */ 158 151 public function getClassMap() … … 162 155 163 156 /** 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 166 158 * 167 159 * @return void … … 180 172 * appending or prepending to the ones previously set for this prefix. 181 173 * 182 * @param string $prefix The prefix183 * @param string[]|string $paths The PSR-0 root directories184 * @param bool $prepend Whether to prepend the directories174 * @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 185 177 * 186 178 * @return void … … 188 180 public function add($prefix, $paths, $prepend = false) 189 181 { 182 $paths = (array) $paths; 190 183 if (!$prefix) { 191 184 if ($prepend) { 192 185 $this->fallbackDirsPsr0 = array_merge( 193 (array)$paths,186 $paths, 194 187 $this->fallbackDirsPsr0 195 188 ); … … 197 190 $this->fallbackDirsPsr0 = array_merge( 198 191 $this->fallbackDirsPsr0, 199 (array)$paths192 $paths 200 193 ); 201 194 } … … 206 199 $first = $prefix[0]; 207 200 if (!isset($this->prefixesPsr0[$first][$prefix])) { 208 $this->prefixesPsr0[$first][$prefix] = (array)$paths;201 $this->prefixesPsr0[$first][$prefix] = $paths; 209 202 210 203 return; … … 212 205 if ($prepend) { 213 206 $this->prefixesPsr0[$first][$prefix] = array_merge( 214 (array)$paths,207 $paths, 215 208 $this->prefixesPsr0[$first][$prefix] 216 209 ); … … 218 211 $this->prefixesPsr0[$first][$prefix] = array_merge( 219 212 $this->prefixesPsr0[$first][$prefix], 220 (array)$paths213 $paths 221 214 ); 222 215 } … … 227 220 * appending or prepending to the ones previously set for this namespace. 228 221 * 229 * @param string $prefix The prefix/namespace, with trailing '\\'230 * @param string[]|string $paths The PSR-4 base directories231 * @param bool $prepend Whether to prepend the directories222 * @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 232 225 * 233 226 * @throws \InvalidArgumentException … … 237 230 public function addPsr4($prefix, $paths, $prepend = false) 238 231 { 232 $paths = (array) $paths; 239 233 if (!$prefix) { 240 234 // Register directories for the root namespace. 241 235 if ($prepend) { 242 236 $this->fallbackDirsPsr4 = array_merge( 243 (array)$paths,237 $paths, 244 238 $this->fallbackDirsPsr4 245 239 ); … … 247 241 $this->fallbackDirsPsr4 = array_merge( 248 242 $this->fallbackDirsPsr4, 249 (array)$paths243 $paths 250 244 ); 251 245 } … … 257 251 } 258 252 $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; 259 $this->prefixDirsPsr4[$prefix] = (array)$paths;253 $this->prefixDirsPsr4[$prefix] = $paths; 260 254 } elseif ($prepend) { 261 255 // Prepend directories for an already registered namespace. 262 256 $this->prefixDirsPsr4[$prefix] = array_merge( 263 (array)$paths,257 $paths, 264 258 $this->prefixDirsPsr4[$prefix] 265 259 ); … … 268 262 $this->prefixDirsPsr4[$prefix] = array_merge( 269 263 $this->prefixDirsPsr4[$prefix], 270 (array)$paths264 $paths 271 265 ); 272 266 } … … 277 271 * replacing any others previously set for this prefix. 278 272 * 279 * @param string $prefix The prefix280 * @param string[]|string $paths The PSR-0 base directories273 * @param string $prefix The prefix 274 * @param list<string>|string $paths The PSR-0 base directories 281 275 * 282 276 * @return void … … 295 289 * replacing any others previously set for this namespace. 296 290 * 297 * @param string $prefix The prefix/namespace, with trailing '\\'298 * @param string[]|string $paths The PSR-4 base directories291 * @param string $prefix The prefix/namespace, with trailing '\\' 292 * @param list<string>|string $paths The PSR-4 base directories 299 293 * 300 294 * @throws \InvalidArgumentException … … 482 476 483 477 /** 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> 487 481 */ 488 482 public static function getRegisteredLoaders() -
wp-maximum-upload-file-size/trunk/vendor/composer/InstalledVersions.php
r2970521 r3241442 32 32 */ 33 33 private static $installed; 34 35 /** 36 * @var bool 37 */ 38 private static $installedIsLocalDir; 34 39 35 40 /** … … 310 315 self::$installed = $data; 311 316 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; 312 323 } 313 324 … … 323 334 324 335 $installed = array(); 336 $copiedLocalDir = false; 325 337 326 338 if (self::$canGetVendors) { 339 $selfDir = strtr(__DIR__, '\\', '/'); 327 340 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 341 $vendorDir = strtr($vendorDir, '\\', '/'); 328 342 if (isset(self::$installedByVendor[$vendorDir])) { 329 343 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 345 /** @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 */ 332 346 $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; 336 352 } 353 } 354 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 355 $copiedLocalDir = true; 337 356 } 338 357 } … … 351 370 } 352 371 353 if (self::$installed !== array() ) {372 if (self::$installed !== array() && !$copiedLocalDir) { 354 373 $installed[] = self::$installed; 355 374 } -
wp-maximum-upload-file-size/trunk/vendor/composer/installed.json
r2970521 r3241442 3 3 { 4 4 "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", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Appsero/client.git", 10 "reference": " a5f23a117b6f3080e85969226735a96816460630"10 "reference": "43289d79f1d55de687f667b17a2834b986cc7b6e" 11 11 }, 12 12 "dist": { 13 13 "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", 16 16 "shasum": "" 17 17 }, … … 27 27 "wp-coding-standards/wpcs": "dev-develop" 28 28 }, 29 "time": "202 3-09-05T10:38:08+00:00",29 "time": "2024-01-08T11:38:14+00:00", 30 30 "type": "library", 31 31 "installation-source": "dist", … … 54 54 "support": { 55 55 "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" 57 57 }, 58 58 "install-path": "../appsero/client" -
wp-maximum-upload-file-size/trunk/vendor/composer/installed.php
r2970521 r3241442 4 4 'pretty_version' => 'dev-master', 5 5 'version' => 'dev-master', 6 'reference' => ' 6acd566d99156ebcc0ce19b7fab2374896859113',6 'reference' => 'bddddb6b10dcde8f80d0ed5f9708dbfeed82d2e3', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-master', 15 15 'version' => 'dev-master', 16 'reference' => ' 6acd566d99156ebcc0ce19b7fab2374896859113',16 'reference' => 'bddddb6b10dcde8f80d0ed5f9708dbfeed82d2e3', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../', … … 21 21 ), 22 22 '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', 26 26 'type' => 'library', 27 27 'install_path' => __DIR__ . '/../appsero/client', -
wp-maximum-upload-file-size/trunk/wp-maximum-upload-file-size.php
r3220902 r3241442 6 6 * Author URI: https://codepopular.com 7 7 * Plugin URI: https://wordpress.org/plugins/wp-maximum-upload-file-size/ 8 * Version: 1.1. 68 * Version: 1.1.7 9 9 * License: GPL2 10 10 * Text Domain: wp-maximum-upload-file-size … … 19 19 define('WMUFS_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__))); 20 20 define('WMUFS_PLUGIN_URL', trailingslashit(plugins_url('/', __FILE__))); 21 define('WMUFS_PLUGIN_VERSION', '1.1. 6');21 define('WMUFS_PLUGIN_VERSION', '1.1.7'); 22 22 /** 23 23 * Increase maximum execution time. … … 60 60 } 61 61 62 add_action( ' admin_init', 'appsero_init_tracker_wp_maximum_upload_file_size' );62 add_action( 'init', 'appsero_init_tracker_wp_maximum_upload_file_size' );
Note: See TracChangeset
for help on using the changeset viewer.