Changeset 3449104
- Timestamp:
- 01/28/2026 11:38:19 PM (2 months ago)
- Location:
- xml-sitemap-feed/trunk
- Files:
-
- 7 edited
-
readme.txt (modified) (2 diffs)
-
upgrade.php (modified) (1 diff)
-
views/admin/field-news-notifier.php (modified) (1 diff)
-
views/admin/field-sitemap-notifier.php (modified) (2 diffs)
-
views/admin/section-bwt-data.php (modified) (2 diffs)
-
views/admin/section-gsc-data.php (modified) (2 diffs)
-
xml-sitemap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
xml-sitemap-feed/trunk/readme.txt
r3445241 r3449104 6 6 Requires PHP: 5.6 7 7 Tested up to: 6.9 8 Stable tag: 5.7. 18 Stable tag: 5.7.2 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 151 151 == Upgrade Notice == 152 152 153 = 5.7. 1=154 155 Fix Google Connect instructions text .153 = 5.7.2 = 154 155 Fix Google Connect instructions text and upgrade routine. 156 156 157 157 == Changelog == 158 158 159 = 5.7. 1=160 161 Date: 20262 3159 = 5.7.2 = 160 161 Date: 202629 162 162 * Fix Google Connect instructions text 163 * Fix transients upgrade routine 163 164 164 165 = 5.7 = -
xml-sitemap-feed/trunk/upgrade.php
r3443679 r3449104 211 211 } 212 212 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 ); 217 216 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 );222 217 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 } 227 223 228 224 // Add possible missing new defaults. -
xml-sitemap-feed/trunk/views/admin/field-news-notifier.php
r3445026 r3449104 14 14 <label> 15 15 <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' ) ); ?> 17 17 </label> 18 18 -
xml-sitemap-feed/trunk/views/admin/field-sitemap-notifier.php
r3443679 r3449104 15 15 <label> 16 16 <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' ) ); ?> 18 18 </label> 19 19 </p> … … 21 21 <label> 22 22 <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' ) ); ?> 24 24 </label> 25 25 </p> -
xml-sitemap-feed/trunk/views/admin/section-bwt-data.php
r3445026 r3449104 13 13 </p> 14 14 <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"> 16 16 <?php esc_html_e( 'Connect', 'xml-sitemap-feed' ); ?> 17 17 </a> … … 37 37 </p> 38 38 <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> 40 40 </p> 41 41 <?php -
xml-sitemap-feed/trunk/views/admin/section-gsc-data.php
r3445026 r3449104 13 13 </p> 14 14 <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"> 16 16 <?php esc_html_e( 'Connect', 'xml-sitemap-feed' ); ?> 17 17 </a> … … 45 45 </p> 46 46 <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> 48 48 </p> 49 49 <?php -
xml-sitemap-feed/trunk/xml-sitemap.php
r3445241 r3449104 4 4 * Plugin URI: https://status301.net/wordpress-plugins/xml-sitemap-feed/ 5 5 * Description: Feed the hungry spiders in compliance with the XML Sitemap and Google News protocols. 6 * Version: 5.7. 16 * Version: 5.7.2 7 7 * Text Domain: xml-sitemap-feed 8 8 * Requires at least: 4.4 … … 47 47 defined( 'WPINC' ) || die; 48 48 49 define( 'XMLSF_VERSION', '5.7. 1' );49 define( 'XMLSF_VERSION', '5.7.2' ); 50 50 define( 'XMLSF_ADV_MIN_VERSION', '1.3' ); 51 51 define( 'XMLSF_NEWS_ADV_MIN_VERSION', '1.4.5' );
Note: See TracChangeset
for help on using the changeset viewer.