Plugin Directory

Changeset 3370206


Ignore:
Timestamp:
09/30/2025 07:59:24 AM (5 months ago)
Author:
findkit
Message:

Update to version 1.4.3 from GitHub

Location:
findkit
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • findkit/tags/1.4.3/CHANGELOG.md

    r3292255 r3370206  
     1## v1.4.3
     2
     32025-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
     7All changes https://github.com/findkit/wp-findkit/compare/v1.4.2...v1.4.3
     8
    19## v1.4.2
    210
  • findkit/tags/1.4.3/plugin.php

    r3292255 r3370206  
    1010 * Description: WordPress Plugin for Findkit Site Search. See findkit.com for details
    1111 * Author: Findkit Team <findkit@findkit.com>
    12  * Version: 1.4.2
     12 * Version: 1.4.3
    1313 * License: GPLv2 or later
    1414 */
  • findkit/tags/1.4.3/readme.txt

    r3292255 r3370206  
    44Requires at least: 6.0
    55Tested up to: 6.7.1
    6 Stable tag: 1.4.2
     6Stable tag: 1.4.3
    77Requires PHP: 7.2
    88Donate link: https://www.findkit.com/
  • findkit/tags/1.4.3/src/LiveUpdate.php

    r3292255 r3370206  
    114114
    115115        // 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.
    116119        if (
    117120            !$is_rest_request &&
     
    119122            \use_block_editor_for_post_type($post->post_type)
    120123        ) {
    121             return;
     124            if (!function_exists('wp_doing_cron') || !wp_doing_cron()) {
     125                return;
     126            }
    122127        }
    123128
  • findkit/tags/1.4.3/vendor/autoload.php

    r3008127 r3370206  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • findkit/tags/1.4.3/vendor/composer/InstalledVersions.php

    r3246350 r3370206  
    2727class InstalledVersions
    2828{
     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
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     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    /**
    326344     * @return array[]
    327345     * @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[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • findkit/tags/1.4.3/vendor/composer/installed.php

    r3292255 r3370206  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => 'dd640127eaa33ea5a884d4bf19aaefeb4f93605d',
     6        'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => 'dd640127eaa33ea5a884d4bf19aaefeb4f93605d',
     16            'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • findkit/tags/1.4.3/vendor/composer/platform_check.php

    r3008127 r3370206  
    2020        }
    2121    }
    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)
    2524    );
    2625}
  • findkit/trunk/CHANGELOG.md

    r3292255 r3370206  
     1## v1.4.3
     2
     32025-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
     7All changes https://github.com/findkit/wp-findkit/compare/v1.4.2...v1.4.3
     8
    19## v1.4.2
    210
  • findkit/trunk/plugin.php

    r3292255 r3370206  
    1010 * Description: WordPress Plugin for Findkit Site Search. See findkit.com for details
    1111 * Author: Findkit Team <findkit@findkit.com>
    12  * Version: 1.4.2
     12 * Version: 1.4.3
    1313 * License: GPLv2 or later
    1414 */
  • findkit/trunk/readme.txt

    r3292255 r3370206  
    44Requires at least: 6.0
    55Tested up to: 6.7.1
    6 Stable tag: 1.4.2
     6Stable tag: 1.4.3
    77Requires PHP: 7.2
    88Donate link: https://www.findkit.com/
  • findkit/trunk/src/LiveUpdate.php

    r3292255 r3370206  
    114114
    115115        // 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.
    116119        if (
    117120            !$is_rest_request &&
     
    119122            \use_block_editor_for_post_type($post->post_type)
    120123        ) {
    121             return;
     124            if (!function_exists('wp_doing_cron') || !wp_doing_cron()) {
     125                return;
     126            }
    122127        }
    123128
  • findkit/trunk/vendor/autoload.php

    r3008127 r3370206  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • findkit/trunk/vendor/composer/InstalledVersions.php

    r3246350 r3370206  
    2727class InstalledVersions
    2828{
     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
    2935    /**
    3036     * @var mixed[]|null
     
    324330
    325331    /**
     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    /**
    326344     * @return array[]
    327345     * @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[]}>}>
     
    337355
    338356        if (self::$canGetVendors) {
    339             $selfDir = strtr(__DIR__, '\\', '/');
     357            $selfDir = self::getSelfDir();
    340358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
    341359                $vendorDir = strtr($vendorDir, '\\', '/');
  • findkit/trunk/vendor/composer/installed.php

    r3292255 r3370206  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => 'dd640127eaa33ea5a884d4bf19aaefeb4f93605d',
     6        'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1414            'pretty_version' => 'dev-main',
    1515            'version' => 'dev-main',
    16             'reference' => 'dd640127eaa33ea5a884d4bf19aaefeb4f93605d',
     16            'reference' => '3c8c57a9b0ca904c41ae24f3da31d940a50842ce',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • findkit/trunk/vendor/composer/platform_check.php

    r3008127 r3370206  
    2020        }
    2121    }
    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)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.