Plugin Directory

Changeset 3449104


Ignore:
Timestamp:
01/28/2026 11:38:19 PM (2 months ago)
Author:
RavanH
Message:

commit 5.7.2

Location:
xml-sitemap-feed/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • xml-sitemap-feed/trunk/readme.txt

    r3445241 r3449104  
    66Requires PHP: 5.6
    77Tested up to: 6.9
    8 Stable tag: 5.7.1
     8Stable tag: 5.7.2
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    151151== Upgrade Notice ==
    152152
    153 = 5.7.1 =
    154 
    155 Fix Google Connect instructions text.
     153= 5.7.2 =
     154
     155Fix Google Connect instructions text and upgrade routine.
    156156
    157157== Changelog ==
    158158
    159 = 5.7.1 =
    160 
    161 Date: 202623
     159= 5.7.2 =
     160
     161Date: 202629
    162162* Fix Google Connect instructions text
     163* Fix transients upgrade routine
    163164
    164165= 5.7 =
  • xml-sitemap-feed/trunk/upgrade.php

    r3443679 r3449104  
    211211    }
    212212
    213     // Make existing notifier transients google specific.
    214     $gsc_token = get_transient( 'sitemap_notifier_access_token' );
    215     if ( false !== $gsc_token ) {
    216         set_transient( 'sitemap_notifier_google_access_token', $gsc_token );
     213    if ( version_compare( '5.7', $db_version, '>' ) ) {
     214        // Drop priority meta data.
     215        delete_metadata( 'post', 0, '_xmlsf_priority', '', true );
    217216        delete_transient( 'sitemap_notifier_access_token' );
    218     }
    219     $gsc_submission = get_transient( 'sitemap_notifier_submission' );
    220     if ( false !== $gsc_submission ) {
    221         set_transient( 'sitemap_notifier_google_submission', $gsc_submission );
    222217        delete_transient( 'sitemap_notifier_submission' );
    223     }
    224 
    225     // Drop priority meta data.
    226     delete_metadata( 'post', 0, '_xmlsf_priority', '', true );
     218    } elseif ( version_compare( '5.7.2', $db_version, '>' ) ) {
     219        // Fix 5.7 and 5.7.1 broken transients upgrade routine.
     220        delete_transient( 'sitemap_notifier_google_access_token' );
     221        delete_transient( 'sitemap_notifier_google_submission' );
     222    }
    227223
    228224    // Add possible missing new defaults.
  • xml-sitemap-feed/trunk/views/admin/field-news-notifier.php

    r3445026 r3449104  
    1414    <label>
    1515        <input type="checkbox" name="xmlsf_news_advanced[notifier]" id="xmlsf_news_notifier" value="1"<?php checked( ! empty( $options['notifier'] ) ); ?><?php disabled( ! apply_filters( 'xmlsf_news_advanced_enabled', false ) ); ?> />
    16         <?php printf( /* translators: %s: Google Search Console */ esc_html__( 'Submit to %s', 'xml-sitemap-feed' ), esc_html__( 'Google Search Console', 'xml-sitemap-feed' ) ); ?>
     16        <?php printf( /* translators: %s: Google Search Console */ esc_html__( 'Ping %s', 'xml-sitemap-feed' ), esc_html__( 'Google Search Console', 'xml-sitemap-feed' ) ); ?>
    1717    </label>
    1818
  • xml-sitemap-feed/trunk/views/admin/field-sitemap-notifier.php

    r3443679 r3449104  
    1515        <label>
    1616            <input type="checkbox" name="xmlsf_sitemap_notifier[]" id="xmlsf_sitemap_notifier_google" value="google"<?php checked( in_array( 'google', (array) $notifier ) || '1' === $notifier ); ?><?php disabled( ! apply_filters( 'xmlsf_advanced_enabled', false ) ); ?> />
    17             <?php printf( /* translators: %s: Google Search Console */ esc_html__( 'Submit to %s', 'xml-sitemap-feed' ), esc_html__( 'Google Search Console', 'xml-sitemap-feed' ) ); ?>
     17            <?php printf( /* translators: %s: Google Search Console */ esc_html__( 'Ping %s', 'xml-sitemap-feed' ), esc_html__( 'Google Search Console', 'xml-sitemap-feed' ) ); ?>
    1818        </label>
    1919    </p>
     
    2121        <label>
    2222            <input type="checkbox" name="xmlsf_sitemap_notifier[]" id="xmlsf_sitemap_notifier_bing" value="bing"<?php checked( in_array( 'bing', (array) $notifier ) ); ?><?php disabled( ! apply_filters( 'xmlsf_advanced_enabled', false ) ); ?> />
    23             <?php printf( /* translators: %s: Bing Webmaster Tools */ esc_html__( 'Submit to %s', 'xml-sitemap-feed' ), esc_html__( 'Bing Webmaster Tools', 'xml-sitemap-feed' ) ); ?>
     23            <?php printf( /* translators: %s: Bing Webmaster Tools */ esc_html__( 'Ping %s', 'xml-sitemap-feed' ), esc_html__( 'Bing Webmaster Tools', 'xml-sitemap-feed' ) ); ?>
    2424        </label>
    2525    </p>
  • xml-sitemap-feed/trunk/views/admin/section-bwt-data.php

    r3445026 r3449104  
    1313    </p>
    1414    <p>
    15         <a href="<?php echo esc_url( \XMLSF\Admin\BWT_Connect::get_settings_url() ); ?>" class="button button-primary">
     15        <a href="<?php echo esc_url( \XMLSF\Admin\BWT_Connect::get_settings_url() ); ?>" class="button button-small">
    1616            <?php esc_html_e( 'Connect', 'xml-sitemap-feed' ); ?>
    1717        </a>
     
    3737    </p>
    3838    <p>
    39         <a href="" class="button button-primary"><?php echo esc_html( translate( 'Retry' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></a>
     39        <a href="" class="button button-small"><?php echo esc_html( translate( 'Retry' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></a>
    4040    </p>
    4141    <?php
  • xml-sitemap-feed/trunk/views/admin/section-gsc-data.php

    r3445026 r3449104  
    1313    </p>
    1414    <p>
    15         <a href="<?php echo esc_url( add_query_arg( 'ref', 'xmlsf', \XMLSF\Admin\GSC_Connect::get_settings_url() ) ); ?>" class="button button-primary">
     15        <a href="<?php echo esc_url( add_query_arg( 'ref', 'xmlsf', \XMLSF\Admin\GSC_Connect::get_settings_url() ) ); ?>" class="button button-small">
    1616            <?php esc_html_e( 'Connect', 'xml-sitemap-feed' ); ?>
    1717        </a>
     
    4545    </p>
    4646    <p>
    47         <a href="" class="button button-primary"><?php echo esc_html( translate( 'Retry' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></a>
     47        <a href="" class="button button-small"><?php echo esc_html( translate( 'Retry' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></a>
    4848    </p>
    4949    <?php
  • xml-sitemap-feed/trunk/xml-sitemap.php

    r3445241 r3449104  
    44 * Plugin URI: https://status301.net/wordpress-plugins/xml-sitemap-feed/
    55 * Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols.
    6  * Version: 5.7.1
     6 * Version: 5.7.2
    77 * Text Domain: xml-sitemap-feed
    88 * Requires at least: 4.4
     
    4747defined( 'WPINC' ) || die;
    4848
    49 define( 'XMLSF_VERSION', '5.7.1' );
     49define( 'XMLSF_VERSION', '5.7.2' );
    5050define( 'XMLSF_ADV_MIN_VERSION', '1.3' );
    5151define( 'XMLSF_NEWS_ADV_MIN_VERSION', '1.4.5' );
Note: See TracChangeset for help on using the changeset viewer.