Changeset 3279405
- Timestamp:
- 04/22/2025 07:55:36 PM (8 months ago)
- Location:
- simple-post-template/trunk
- Files:
-
- 6 edited
-
composer.lock (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
simple-content-template.php (modified) (3 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-post-template/trunk/composer.lock
r3193180 r3279405 93 93 "aliases": [], 94 94 "minimum-stability": "stable", 95 "stability-flags": [],95 "stability-flags": {}, 96 96 "prefer-stable": false, 97 97 "prefer-lowest": false, 98 "platform": [],99 "platform-dev": [],98 "platform": {}, 99 "platform-dev": {}, 100 100 "plugin-api-version": "2.6.0" 101 101 } -
simple-post-template/trunk/readme.txt
r3193208 r3279405 3 3 Tags: post template, content template, post from template, templates, copy, clone, duplicate 4 4 Requires at least: 3.6 5 Tested up to: 6. 75 Tested up to: 6.8 6 6 Stable tag: 2.2.6 7 7 … … 37 37 == Changelog == 38 38 39 **Version 2.2.61** 40 41 * Bump version 42 * Update dependencies 43 39 44 **Version 2.2.6** 40 45 -
simple-post-template/trunk/simple-content-template.php
r3193180 r3279405 17 17 * Plugin URI: https://www.advancedcontenttemplates.com/ 18 18 * Description: A simple to use content template system. Create similarly structured posts & pages with ease. 19 * Version: 2.2.6 19 * Version: 2.2.61 20 20 * Author: Clifton Griffin 21 21 * Author URI: https://objectiv.co … … 24 24 * Text Domain: advanced-content-templates 25 25 * Domain Path: /languages 26 * Tested up to: 6. 726 * Tested up to: 6.8 27 27 */ 28 28 … … 32 32 } 33 33 34 define('CGD_SCT_VERSION', '2.2.6 ');34 define('CGD_SCT_VERSION', '2.2.61'); 35 35 define('CGD_SCT_NAME', 'Simple Content Templates'); 36 36 -
simple-post-template/trunk/vendor/autoload.php
r2970365 r3279405 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
simple-post-template/trunk/vendor/composer/InstalledVersions.php
r2970365 r3279405 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-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[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @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 364 $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]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
simple-post-template/trunk/vendor/composer/installed.php
r3193180 r3279405 2 2 'root' => array( 3 3 'name' => '__root__', 4 'pretty_version' => 'dev- develop',5 'version' => 'dev- develop',6 'reference' => ' 85ba9c34f8fa708b74711554beed6720c1f10534',4 'pretty_version' => 'dev-master', 5 'version' => 'dev-master', 6 'reference' => '0e563f6f3ef30738836d5debf315112a080163fc', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 '__root__' => array( 14 'pretty_version' => 'dev- develop',15 'version' => 'dev- develop',16 'reference' => ' 85ba9c34f8fa708b74711554beed6720c1f10534',14 'pretty_version' => 'dev-master', 15 'version' => 'dev-master', 16 'reference' => '0e563f6f3ef30738836d5debf315112a080163fc', 17 17 'type' => 'library', 18 18 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.