Changeset 3370206
- Timestamp:
- 09/30/2025 07:59:24 AM (5 months ago)
- Location:
- findkit
- Files:
-
- 16 edited
- 1 copied
-
tags/1.4.3 (copied) (copied from findkit/trunk)
-
tags/1.4.3/CHANGELOG.md (modified) (1 diff)
-
tags/1.4.3/plugin.php (modified) (1 diff)
-
tags/1.4.3/readme.txt (modified) (1 diff)
-
tags/1.4.3/src/LiveUpdate.php (modified) (2 diffs)
-
tags/1.4.3/vendor/autoload.php (modified) (1 diff)
-
tags/1.4.3/vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
tags/1.4.3/vendor/composer/installed.php (modified) (2 diffs)
-
tags/1.4.3/vendor/composer/platform_check.php (modified) (1 diff)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/LiveUpdate.php (modified) (2 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
findkit/tags/1.4.3/CHANGELOG.md
r3292255 r3370206 1 ## v1.4.3 2 3 2025-09-30 4 5 - Run liveupdate when WordPress is doing cron job that publishes scheduled posts [5bfed3d](https://github.com/findkit/wp-findkit/commit/5bfed3d) - Lauri Saarni 6 7 All changes https://github.com/findkit/wp-findkit/compare/v1.4.2...v1.4.3 8 1 9 ## v1.4.2 2 10 -
findkit/tags/1.4.3/plugin.php
r3292255 r3370206 10 10 * Description: WordPress Plugin for Findkit Site Search. See findkit.com for details 11 11 * Author: Findkit Team <findkit@findkit.com> 12 * Version: 1.4. 212 * Version: 1.4.3 13 13 * License: GPLv2 or later 14 14 */ -
findkit/tags/1.4.3/readme.txt
r3292255 r3370206 4 4 Requires at least: 6.0 5 5 Tested up to: 6.7.1 6 Stable tag: 1.4. 26 Stable tag: 1.4.3 7 7 Requires PHP: 7.2 8 8 Donate link: https://www.findkit.com/ -
findkit/tags/1.4.3/src/LiveUpdate.php
r3292255 r3370206 114 114 115 115 // If not REST, and not a bulk/trash action, and using block editor, skip to avoid duplicate 116 // BUT do not skip when cron is publishing a scheduled post (future -> publish). 117 // wp-cron is not a REST request and not a bulk/trash action, and post types 118 // often use the block editor, so without this guard we would miss scheduled publishes. 116 119 if ( 117 120 !$is_rest_request && … … 119 122 \use_block_editor_for_post_type($post->post_type) 120 123 ) { 121 return; 124 if (!function_exists('wp_doing_cron') || !wp_doing_cron()) { 125 return; 126 } 122 127 } 123 128 -
findkit/tags/1.4.3/vendor/autoload.php
r3008127 r3370206 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
findkit/tags/1.4.3/vendor/composer/InstalledVersions.php
r3246350 r3370206 27 27 class InstalledVersions 28 28 { 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 29 35 /** 30 36 * @var mixed[]|null … … 324 330 325 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; 341 } 342 343 /** 326 344 * @return array[] 327 345 * @psalm-return list<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[]}>}> … … 337 355 338 356 if (self::$canGetVendors) { 339 $selfDir = s trtr(__DIR__, '\\', '/');357 $selfDir = self::getSelfDir(); 340 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 341 359 $vendorDir = strtr($vendorDir, '\\', '/'); -
findkit/tags/1.4.3/vendor/composer/installed.php
r3292255 r3370206 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' dd640127eaa33ea5a884d4bf19aaefeb4f93605d',6 'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' dd640127eaa33ea5a884d4bf19aaefeb4f93605d',16 'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', -
findkit/tags/1.4.3/vendor/composer/platform_check.php
r3008127 r3370206 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 } -
findkit/trunk/CHANGELOG.md
r3292255 r3370206 1 ## v1.4.3 2 3 2025-09-30 4 5 - Run liveupdate when WordPress is doing cron job that publishes scheduled posts [5bfed3d](https://github.com/findkit/wp-findkit/commit/5bfed3d) - Lauri Saarni 6 7 All changes https://github.com/findkit/wp-findkit/compare/v1.4.2...v1.4.3 8 1 9 ## v1.4.2 2 10 -
findkit/trunk/plugin.php
r3292255 r3370206 10 10 * Description: WordPress Plugin for Findkit Site Search. See findkit.com for details 11 11 * Author: Findkit Team <findkit@findkit.com> 12 * Version: 1.4. 212 * Version: 1.4.3 13 13 * License: GPLv2 or later 14 14 */ -
findkit/trunk/readme.txt
r3292255 r3370206 4 4 Requires at least: 6.0 5 5 Tested up to: 6.7.1 6 Stable tag: 1.4. 26 Stable tag: 1.4.3 7 7 Requires PHP: 7.2 8 8 Donate link: https://www.findkit.com/ -
findkit/trunk/src/LiveUpdate.php
r3292255 r3370206 114 114 115 115 // If not REST, and not a bulk/trash action, and using block editor, skip to avoid duplicate 116 // BUT do not skip when cron is publishing a scheduled post (future -> publish). 117 // wp-cron is not a REST request and not a bulk/trash action, and post types 118 // often use the block editor, so without this guard we would miss scheduled publishes. 116 119 if ( 117 120 !$is_rest_request && … … 119 122 \use_block_editor_for_post_type($post->post_type) 120 123 ) { 121 return; 124 if (!function_exists('wp_doing_cron') || !wp_doing_cron()) { 125 return; 126 } 122 127 } 123 128 -
findkit/trunk/vendor/autoload.php
r3008127 r3370206 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
findkit/trunk/vendor/composer/InstalledVersions.php
r3246350 r3370206 27 27 class InstalledVersions 28 28 { 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 29 35 /** 30 36 * @var mixed[]|null … … 324 330 325 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; 341 } 342 343 /** 326 344 * @return array[] 327 345 * @psalm-return list<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[]}>}> … … 337 355 338 356 if (self::$canGetVendors) { 339 $selfDir = s trtr(__DIR__, '\\', '/');357 $selfDir = self::getSelfDir(); 340 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 341 359 $vendorDir = strtr($vendorDir, '\\', '/'); -
findkit/trunk/vendor/composer/installed.php
r3292255 r3370206 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' dd640127eaa33ea5a884d4bf19aaefeb4f93605d',6 'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 14 14 'pretty_version' => 'dev-main', 15 15 'version' => 'dev-main', 16 'reference' => ' dd640127eaa33ea5a884d4bf19aaefeb4f93605d',16 'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', -
findkit/trunk/vendor/composer/platform_check.php
r3008127 r3370206 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.