Plugin Directory

Changeset 3442661


Ignore:
Timestamp:
01/19/2026 04:05:32 PM (2 months ago)
Author:
DannyCooper
Message:

Update to version 1.8.2 from GitHub

Location:
disable-remove-google-fonts
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • disable-remove-google-fonts/tags/1.8.2/admin/class-drgf-admin.php

    r3442598 r3442661  
    106106                'unknownErrorText'     => __( 'An unknown error occurred.', 'disable-remove-google-fonts' ),
    107107                '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' ),
    111108                'adminPageError'       => __( 'This feature is only available on public-facing pages. Please visit a frontend page to check for Google Fonts.', 'disable-remove-google-fonts' ),
    112109            )
     
    197194                        <p><strong>✅ Now the plugin is active, it will begin working right away.</strong></p>
    198195                       
    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; ?>
    204196                        <h3>How This Plugin Works</h3>
    205197                        <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>
     
    299291                            <p><?php esc_html_e( 'Analyzing captured page...', 'disable-remove-google-fonts' ); ?></p>
    300292                        </div>
    301                     <?php endif; ?>
    302                     <?php if ( $check_result ) : ?>
     293                    <?php elseif ( $check_result ) : ?>
    303294                        <?php
    304295                        $found_count = count( $check_result['references'] );
     
    355346                            <?php endif; ?>
    356347                        </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>
    360359                        </div>
    361360                    <?php endif; ?>
     
    367366        jQuery( document ).ready( function() {
    368367            // Auto-trigger check when page loads if we have fresh captured HTML.
    369             const $button = jQuery( '#drgf-check-fonts-btn' );
    370368            const $loading = jQuery( '#drgf-check-loading' );
    371369            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 =
    22
    33* Introduced new "Check Google Fonts" feature
  • disable-remove-google-fonts/tags/1.8.2/disable-remove-google-fonts.php

    r3442599 r3442661  
    66 * Author: Fonts Plugin
    77 * Author URI: https://fontsplugin.com
    8  * Version: 1.8.1
     8 * Version: 1.8.2
    99 * License: GPLv2 or later
    1010 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
     
    3232
    3333if ( ! defined( 'DRGF_VERSION' ) ) {
    34     define( 'DRGF_VERSION', '1.8.1' );
     34    define( 'DRGF_VERSION', '1.8.2' );
    3535}
    3636
  • disable-remove-google-fonts/tags/1.8.2/readme.txt

    r3442599 r3442661  
    55Tested up to: 6.9
    66License: GPLv2 or later
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88
    99Improve frontend performance by disabling Google Fonts. GDPR and DSGVO friendly.
     
    2626The results will show you:
    2727
     28* The number of Google Fonts that are being loaded
    2829* The URLs of the Google Fonts that are being loaded
    29 * The URLs of the Google Fonts that are being loaded
     30* The source of the Google Fonts that are being loaded
    3031
    3132= Plugin Compatibility =
  • disable-remove-google-fonts/trunk/admin/class-drgf-admin.php

    r3442598 r3442661  
    106106                'unknownErrorText'     => __( 'An unknown error occurred.', 'disable-remove-google-fonts' ),
    107107                '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' ),
    111108                'adminPageError'       => __( 'This feature is only available on public-facing pages. Please visit a frontend page to check for Google Fonts.', 'disable-remove-google-fonts' ),
    112109            )
     
    197194                        <p><strong>✅ Now the plugin is active, it will begin working right away.</strong></p>
    198195                       
    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; ?>
    204196                        <h3>How This Plugin Works</h3>
    205197                        <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>
     
    299291                            <p><?php esc_html_e( 'Analyzing captured page...', 'disable-remove-google-fonts' ); ?></p>
    300292                        </div>
    301                     <?php endif; ?>
    302                     <?php if ( $check_result ) : ?>
     293                    <?php elseif ( $check_result ) : ?>
    303294                        <?php
    304295                        $found_count = count( $check_result['references'] );
     
    355346                            <?php endif; ?>
    356347                        </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>
    360359                        </div>
    361360                    <?php endif; ?>
     
    367366        jQuery( document ).ready( function() {
    368367            // Auto-trigger check when page loads if we have fresh captured HTML.
    369             const $button = jQuery( '#drgf-check-fonts-btn' );
    370368            const $loading = jQuery( '#drgf-check-loading' );
    371369            const $results = jQuery( '#drgf-check-results' );
  • disable-remove-google-fonts/trunk/changelog.txt

    r3442599 r3442661  
    1 = 1.8.1 =
     1= 1.8.2 =
    22
    33* Introduced new "Check Google Fonts" feature
  • disable-remove-google-fonts/trunk/disable-remove-google-fonts.php

    r3442599 r3442661  
    66 * Author: Fonts Plugin
    77 * Author URI: https://fontsplugin.com
    8  * Version: 1.8.1
     8 * Version: 1.8.2
    99 * License: GPLv2 or later
    1010 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
     
    3232
    3333if ( ! defined( 'DRGF_VERSION' ) ) {
    34     define( 'DRGF_VERSION', '1.8.1' );
     34    define( 'DRGF_VERSION', '1.8.2' );
    3535}
    3636
  • disable-remove-google-fonts/trunk/readme.txt

    r3442599 r3442661  
    55Tested up to: 6.9
    66License: GPLv2 or later
    7 Stable tag: 1.8.1
     7Stable tag: 1.8.2
    88
    99Improve frontend performance by disabling Google Fonts. GDPR and DSGVO friendly.
     
    2626The results will show you:
    2727
     28* The number of Google Fonts that are being loaded
    2829* The URLs of the Google Fonts that are being loaded
    29 * The URLs of the Google Fonts that are being loaded
     30* The source of the Google Fonts that are being loaded
    3031
    3132= Plugin Compatibility =
Note: See TracChangeset for help on using the changeset viewer.