Plugin Directory

Changeset 3841518


Ignore:
Timestamp:
12/03/2026 04:02:47 AM (less than one hour ago)
Author:
recruitsosimpleuk
Message:

Release 1.1.1

Location:
recruit-so-simple-jobs
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • recruit-so-simple-jobs/tags/1.1.1/readme.txt

    r3838583 r3841518  
    55Tested up to: 7.0
    66Requires PHP: 7.4
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9898== Changelog ==
    9999
     100= 1.1.1 =
     101* Fixed the Rank Math sitemap index sometimes leaving out the jobs sitemap: the sitemap cache is now cleared immediately when jobs change, and once after every plugin update.
     102
    100103= 1.1.0 =
    101104* Added a unique page title, meta description, canonical link and Open Graph/Twitter tags to every job page, with a configurable title format.
    … …  
    149152== Upgrade Notice ==
    150153
     154= 1.1.1 =
     155Fixes job pages missing from the Rank Math sitemap index.
     156
    151157= 1.1.0 =
    152158Adds SEO titles, descriptions, social tags, sitemap entries and fixed Google for Jobs data for job pages, with Rank Math and Yoast SEO support.
  • recruit-so-simple-jobs/tags/1.1.1/recruit-so-simple-jobs.php

    r3838583 r3841518  
    44 * Plugin URI: https://help.recruitsosimple.com/documentation/integrations/wordpress-plugin
    55 * Description: Display jobs from a Recruit So Simple JSON feed and post applications back to Recruit So Simple.
    6  * Version: 1.1.0
     6 * Version: 1.1.1
    77 * Requires at least: 6.0
    88 * Requires PHP: 7.4
    … …  
    1919
    2020final class Recruit_So_Simple_Jobs {
    21         const VERSION = '1.1.0';
     21        const VERSION = '1.1.1';
    2222        const OPTION_NAME = 'rss_jobs_options';
    2323        const FEED_TRANSIENT = 'rss_jobs_feed_cache';
    … …  
    16031603         * Clear Rank Math's and Yoast's cached sitemaps when the job URLs change
    16041604         * (or on the first feed load after updating the plugin), as both cache
    1605          * sitemap XML and would otherwise keep serving the old list.
     1605         * sitemap XML and would otherwise keep serving the old list. The plugin
     1606         * version is part of the hash so every upgrade clears the caches once.
    16061607         */
    16071608        private function maybe_invalidate_seo_sitemaps() {
    1608                 $hash = md5( (string) wp_json_encode( $this->sitemap_entries() ) );
     1609                $hash = md5( self::VERSION . '|' . (string) wp_json_encode( $this->sitemap_entries() ) );
    16091610                if ( get_option( self::SITEMAP_HASH_OPTION ) === $hash ) {
    16101611                        return;
    … …  
    16151616        }
    16161617
     1618        /**
     1619         * Both plugins only queue the clear and flush the queue on `shutdown`.
     1620         * Rank Math registers that shutdown hook only in admin and cron requests,
     1621         * so a clear queued during a front-end page view was silently dropped and
     1622         * the index kept omitting the jobs sitemap. Flush the queue immediately.
     1623         */
    16171624        private function invalidate_seo_sitemaps() {
    16181625                if ( class_exists( '\RankMath\Sitemap\Cache_Watcher' ) && method_exists( '\RankMath\Sitemap\Cache_Watcher', 'invalidate' ) ) {
    16191626                        \RankMath\Sitemap\Cache_Watcher::invalidate( 'rssjobs' );
     1627                        if ( is_callable( array( '\RankMath\Sitemap\Cache_Watcher', 'clear_queued' ) ) ) {
     1628                                \RankMath\Sitemap\Cache_Watcher::clear_queued();
     1629                        }
    16201630                }
    16211631                if ( class_exists( 'WPSEO_Sitemaps_Cache' ) && method_exists( 'WPSEO_Sitemaps_Cache', 'invalidate' ) ) {
    16221632                        WPSEO_Sitemaps_Cache::invalidate( 'rssjobs' );
     1633                        if ( is_callable( array( 'WPSEO_Sitemaps_Cache', 'clear_queued' ) ) ) {
     1634                                WPSEO_Sitemaps_Cache::clear_queued();
     1635                        }
    16231636                }
    16241637        }
  • recruit-so-simple-jobs/trunk/readme.txt

    r3838583 r3841518  
    55Tested up to: 7.0
    66Requires PHP: 7.4
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    9898== Changelog ==
    9999
     100= 1.1.1 =
     101* Fixed the Rank Math sitemap index sometimes leaving out the jobs sitemap: the sitemap cache is now cleared immediately when jobs change, and once after every plugin update.
     102
    100103= 1.1.0 =
    101104* Added a unique page title, meta description, canonical link and Open Graph/Twitter tags to every job page, with a configurable title format.
    … …  
    149152== Upgrade Notice ==
    150153
     154= 1.1.1 =
     155Fixes job pages missing from the Rank Math sitemap index.
     156
    151157= 1.1.0 =
    152158Adds SEO titles, descriptions, social tags, sitemap entries and fixed Google for Jobs data for job pages, with Rank Math and Yoast SEO support.
  • recruit-so-simple-jobs/trunk/recruit-so-simple-jobs.php

    r3838583 r3841518  
    44 * Plugin URI: https://help.recruitsosimple.com/documentation/integrations/wordpress-plugin
    55 * Description: Display jobs from a Recruit So Simple JSON feed and post applications back to Recruit So Simple.
    6  * Version: 1.1.0
     6 * Version: 1.1.1
    77 * Requires at least: 6.0
    88 * Requires PHP: 7.4
    … …  
    1919
    2020final class Recruit_So_Simple_Jobs {
    21         const VERSION = '1.1.0';
     21        const VERSION = '1.1.1';
    2222        const OPTION_NAME = 'rss_jobs_options';
    2323        const FEED_TRANSIENT = 'rss_jobs_feed_cache';
    … …  
    16031603         * Clear Rank Math's and Yoast's cached sitemaps when the job URLs change
    16041604         * (or on the first feed load after updating the plugin), as both cache
    1605          * sitemap XML and would otherwise keep serving the old list.
     1605         * sitemap XML and would otherwise keep serving the old list. The plugin
     1606         * version is part of the hash so every upgrade clears the caches once.
    16061607         */
    16071608        private function maybe_invalidate_seo_sitemaps() {
    1608                 $hash = md5( (string) wp_json_encode( $this->sitemap_entries() ) );
     1609                $hash = md5( self::VERSION . '|' . (string) wp_json_encode( $this->sitemap_entries() ) );
    16091610                if ( get_option( self::SITEMAP_HASH_OPTION ) === $hash ) {
    16101611                        return;
    … …  
    16151616        }
    16161617
     1618        /**
     1619         * Both plugins only queue the clear and flush the queue on `shutdown`.
     1620         * Rank Math registers that shutdown hook only in admin and cron requests,
     1621         * so a clear queued during a front-end page view was silently dropped and
     1622         * the index kept omitting the jobs sitemap. Flush the queue immediately.
     1623         */
    16171624        private function invalidate_seo_sitemaps() {
    16181625                if ( class_exists( '\RankMath\Sitemap\Cache_Watcher' ) && method_exists( '\RankMath\Sitemap\Cache_Watcher', 'invalidate' ) ) {
    16191626                        \RankMath\Sitemap\Cache_Watcher::invalidate( 'rssjobs' );
     1627                        if ( is_callable( array( '\RankMath\Sitemap\Cache_Watcher', 'clear_queued' ) ) ) {
     1628                                \RankMath\Sitemap\Cache_Watcher::clear_queued();
     1629                        }
    16201630                }
    16211631                if ( class_exists( 'WPSEO_Sitemaps_Cache' ) && method_exists( 'WPSEO_Sitemaps_Cache', 'invalidate' ) ) {
    16221632                        WPSEO_Sitemaps_Cache::invalidate( 'rssjobs' );
     1633                        if ( is_callable( array( 'WPSEO_Sitemaps_Cache', 'clear_queued' ) ) ) {
     1634                                WPSEO_Sitemaps_Cache::clear_queued();
     1635                        }
    16231636                }
    16241637        }
Note: See TracChangeset for help on using the changeset viewer.