Changeset 3442661
- Timestamp:
- 01/19/2026 04:05:32 PM (2 months ago)
- Location:
- disable-remove-google-fonts
- Files:
-
- 8 edited
- 1 copied
-
tags/1.8.2 (copied) (copied from disable-remove-google-fonts/trunk)
-
tags/1.8.2/admin/class-drgf-admin.php (modified) (5 diffs)
-
tags/1.8.2/changelog.txt (modified) (1 diff)
-
tags/1.8.2/disable-remove-google-fonts.php (modified) (2 diffs)
-
tags/1.8.2/readme.txt (modified) (2 diffs)
-
trunk/admin/class-drgf-admin.php (modified) (5 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/disable-remove-google-fonts.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
disable-remove-google-fonts/tags/1.8.2/admin/class-drgf-admin.php
r3442598 r3442661 106 106 'unknownErrorText' => __( 'An unknown error occurred.', 'disable-remove-google-fonts' ), 107 107 'timeoutErrorText' => __( 'The check timed out. Please try again.', 'disable-remove-google-fonts' ), 108 'captureInstructionsText' => __( 'For best results, please visit your homepage to capture the actual HTML:', 'disable-remove-google-fonts' ),109 'captureButtonText' => __( 'Visit Homepage to Capture HTML', 'disable-remove-google-fonts' ),110 'captureNoteText' => __( 'After visiting the page, return here and click "Check for Google Fonts" again.', 'disable-remove-google-fonts' ),111 108 'adminPageError' => __( 'This feature is only available on public-facing pages. Please visit a frontend page to check for Google Fonts.', 'disable-remove-google-fonts' ), 112 109 ) … … 197 194 <p><strong>✅ Now the plugin is active, it will begin working right away.</strong></p> 198 195 199 <?php if ( isset( $_GET['drgf_captured'] ) ) : ?>200 <div class="notice notice-success is-dismissible">201 <p><?php esc_html_e( 'Homepage HTML captured successfully! You can now check for Google Fonts.', 'disable-remove-google-fonts' ); ?></p>202 </div>203 <?php endif; ?>204 196 <h3>How This Plugin Works</h3> 205 197 <p>This plugin completely removes all references to Google Fonts from your website. That means that your website will no longer render Google Fonts and will instead revert to a <a target="_blank" href="https://fontsplugin.com/web-safe-system-fonts/">fallback font</a>.</p> … … 299 291 <p><?php esc_html_e( 'Analyzing captured page...', 'disable-remove-google-fonts' ); ?></p> 300 292 </div> 301 <?php endif; ?> 302 <?php if ( $check_result ) : ?> 293 <?php elseif ( $check_result ) : ?> 303 294 <?php 304 295 $found_count = count( $check_result['references'] ); … … 355 346 <?php endif; ?> 356 347 </div> 357 <?php else : ?> 358 <div class="drgf-check-result drgf-check-info"> 359 <p><?php esc_html_e( 'No check has been performed yet. Click the button above to check for Google Fonts.', 'disable-remove-google-fonts' ); ?></p> 348 <?php elseif ( ! $auto_check && ! $check_result ) : ?> 349 <div class="drgf-admin__wrap"> 350 <div class="drgf-admin__content"> 351 <div class="drgf-admin__content__inner"> 352 <h3>🔎 Check for Google Fonts</h3> 353 <p><?php esc_html_e( 'To test your website, visit any page and use the admin bar menu button to check for Google Fonts.', 'disable-remove-google-fonts' ); ?></p> 354 <img src="<?php echo esc_url( DRGF_DIR_URL . 'admin/check-google-fonts-button.jpg' ); ?>" alt="Admin Bar Menu"> 355 <p><?php esc_html_e( 'We also have a free online checker tool that you can test your website with here:', 'disable-remove-google-fonts' ); ?> <a target="_blank" href="https://fontsplugin.com/google-fonts-checker/"><?php esc_html_e( 'Google Fonts Checker', 'disable-remove-google-fonts' ); ?></a>.</p> 356 <p><?php esc_html_e( 'If there are any font requests still present, please', 'disable-remove-google-fonts' ); ?> <a target="_blank" href="https://wordpress.org/support/plugin/disable-remove-google-fonts/#new-post"><?php esc_html_e( 'create a support ticket', 'disable-remove-google-fonts' ); ?></a> <?php esc_html_e( 'and our team will happily look into it for you.', 'disable-remove-google-fonts' ); ?></p> 357 </div> 358 </div> 360 359 </div> 361 360 <?php endif; ?> … … 367 366 jQuery( document ).ready( function() { 368 367 // Auto-trigger check when page loads if we have fresh captured HTML. 369 const $button = jQuery( '#drgf-check-fonts-btn' );370 368 const $loading = jQuery( '#drgf-check-loading' ); 371 369 const $results = jQuery( '#drgf-check-results' ); -
disable-remove-google-fonts/tags/1.8.2/changelog.txt
r3442599 r3442661 1 = 1.8. 1=1 = 1.8.2 = 2 2 3 3 * Introduced new "Check Google Fonts" feature -
disable-remove-google-fonts/tags/1.8.2/disable-remove-google-fonts.php
r3442599 r3442661 6 6 * Author: Fonts Plugin 7 7 * Author URI: https://fontsplugin.com 8 * Version: 1.8. 18 * Version: 1.8.2 9 9 * License: GPLv2 or later 10 10 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt … … 32 32 33 33 if ( ! defined( 'DRGF_VERSION' ) ) { 34 define( 'DRGF_VERSION', '1.8. 1' );34 define( 'DRGF_VERSION', '1.8.2' ); 35 35 } 36 36 -
disable-remove-google-fonts/tags/1.8.2/readme.txt
r3442599 r3442661 5 5 Tested up to: 6.9 6 6 License: GPLv2 or later 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 9 9 Improve frontend performance by disabling Google Fonts. GDPR and DSGVO friendly. … … 26 26 The results will show you: 27 27 28 * The number of Google Fonts that are being loaded 28 29 * The URLs of the Google Fonts that are being loaded 29 * The URLsof the Google Fonts that are being loaded30 * The source of the Google Fonts that are being loaded 30 31 31 32 = Plugin Compatibility = -
disable-remove-google-fonts/trunk/admin/class-drgf-admin.php
r3442598 r3442661 106 106 'unknownErrorText' => __( 'An unknown error occurred.', 'disable-remove-google-fonts' ), 107 107 'timeoutErrorText' => __( 'The check timed out. Please try again.', 'disable-remove-google-fonts' ), 108 'captureInstructionsText' => __( 'For best results, please visit your homepage to capture the actual HTML:', 'disable-remove-google-fonts' ),109 'captureButtonText' => __( 'Visit Homepage to Capture HTML', 'disable-remove-google-fonts' ),110 'captureNoteText' => __( 'After visiting the page, return here and click "Check for Google Fonts" again.', 'disable-remove-google-fonts' ),111 108 'adminPageError' => __( 'This feature is only available on public-facing pages. Please visit a frontend page to check for Google Fonts.', 'disable-remove-google-fonts' ), 112 109 ) … … 197 194 <p><strong>✅ Now the plugin is active, it will begin working right away.</strong></p> 198 195 199 <?php if ( isset( $_GET['drgf_captured'] ) ) : ?>200 <div class="notice notice-success is-dismissible">201 <p><?php esc_html_e( 'Homepage HTML captured successfully! You can now check for Google Fonts.', 'disable-remove-google-fonts' ); ?></p>202 </div>203 <?php endif; ?>204 196 <h3>How This Plugin Works</h3> 205 197 <p>This plugin completely removes all references to Google Fonts from your website. That means that your website will no longer render Google Fonts and will instead revert to a <a target="_blank" href="https://fontsplugin.com/web-safe-system-fonts/">fallback font</a>.</p> … … 299 291 <p><?php esc_html_e( 'Analyzing captured page...', 'disable-remove-google-fonts' ); ?></p> 300 292 </div> 301 <?php endif; ?> 302 <?php if ( $check_result ) : ?> 293 <?php elseif ( $check_result ) : ?> 303 294 <?php 304 295 $found_count = count( $check_result['references'] ); … … 355 346 <?php endif; ?> 356 347 </div> 357 <?php else : ?> 358 <div class="drgf-check-result drgf-check-info"> 359 <p><?php esc_html_e( 'No check has been performed yet. Click the button above to check for Google Fonts.', 'disable-remove-google-fonts' ); ?></p> 348 <?php elseif ( ! $auto_check && ! $check_result ) : ?> 349 <div class="drgf-admin__wrap"> 350 <div class="drgf-admin__content"> 351 <div class="drgf-admin__content__inner"> 352 <h3>🔎 Check for Google Fonts</h3> 353 <p><?php esc_html_e( 'To test your website, visit any page and use the admin bar menu button to check for Google Fonts.', 'disable-remove-google-fonts' ); ?></p> 354 <img src="<?php echo esc_url( DRGF_DIR_URL . 'admin/check-google-fonts-button.jpg' ); ?>" alt="Admin Bar Menu"> 355 <p><?php esc_html_e( 'We also have a free online checker tool that you can test your website with here:', 'disable-remove-google-fonts' ); ?> <a target="_blank" href="https://fontsplugin.com/google-fonts-checker/"><?php esc_html_e( 'Google Fonts Checker', 'disable-remove-google-fonts' ); ?></a>.</p> 356 <p><?php esc_html_e( 'If there are any font requests still present, please', 'disable-remove-google-fonts' ); ?> <a target="_blank" href="https://wordpress.org/support/plugin/disable-remove-google-fonts/#new-post"><?php esc_html_e( 'create a support ticket', 'disable-remove-google-fonts' ); ?></a> <?php esc_html_e( 'and our team will happily look into it for you.', 'disable-remove-google-fonts' ); ?></p> 357 </div> 358 </div> 360 359 </div> 361 360 <?php endif; ?> … … 367 366 jQuery( document ).ready( function() { 368 367 // Auto-trigger check when page loads if we have fresh captured HTML. 369 const $button = jQuery( '#drgf-check-fonts-btn' );370 368 const $loading = jQuery( '#drgf-check-loading' ); 371 369 const $results = jQuery( '#drgf-check-results' ); -
disable-remove-google-fonts/trunk/changelog.txt
r3442599 r3442661 1 = 1.8. 1=1 = 1.8.2 = 2 2 3 3 * Introduced new "Check Google Fonts" feature -
disable-remove-google-fonts/trunk/disable-remove-google-fonts.php
r3442599 r3442661 6 6 * Author: Fonts Plugin 7 7 * Author URI: https://fontsplugin.com 8 * Version: 1.8. 18 * Version: 1.8.2 9 9 * License: GPLv2 or later 10 10 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt … … 32 32 33 33 if ( ! defined( 'DRGF_VERSION' ) ) { 34 define( 'DRGF_VERSION', '1.8. 1' );34 define( 'DRGF_VERSION', '1.8.2' ); 35 35 } 36 36 -
disable-remove-google-fonts/trunk/readme.txt
r3442599 r3442661 5 5 Tested up to: 6.9 6 6 License: GPLv2 or later 7 Stable tag: 1.8. 17 Stable tag: 1.8.2 8 8 9 9 Improve frontend performance by disabling Google Fonts. GDPR and DSGVO friendly. … … 26 26 The results will show you: 27 27 28 * The number of Google Fonts that are being loaded 28 29 * The URLs of the Google Fonts that are being loaded 29 * The URLsof the Google Fonts that are being loaded30 * The source of the Google Fonts that are being loaded 30 31 31 32 = Plugin Compatibility =
Note: See TracChangeset
for help on using the changeset viewer.