Plugin Directory


Ignore:
Timestamp:
12/12/2023 07:01:27 PM (16 months ago)
Author:
DaanvandenBergh
Message:

Update to version 5.7.9 from GitHub

Location:
host-webfonts-local
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • host-webfonts-local/tags/5.7.9/host-webfonts-local.php

    r3009002 r3009010  
    44 * Plugin URI: https://daan.dev/wordpress/omgf/
    55 * Description: Increase GDPR/DSGVO compliance and leverage browser cache by automatically self-hosting Google Fonts.
    6  * Version: 5.7.8
     6 * Version: 5.7.9
    77 * Author: Daan from Daan.dev
    88 * Author URI: https://daan.dev
     
    3131/**
    3232 * All systems GO!!!
    33  * @return Plugin
     33 * @return OMGF\Plugin
    3434 */
    3535$omgf = new OMGF\Plugin();
  • host-webfonts-local/tags/5.7.9/readme.txt

    r3009002 r3009010  
    44Requires at least: 4.6
    55Tested up to: 6.3
    6 Stable tag: 5.7.8
     6Stable tag: 5.7.9
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    7979
    8080== Changelog ==
     81
     82= 5.7.9 =
     83* Fixed: this time a proper CSRF fix! It's been a long day.
    8184
    8285= 5.7.8 =
  • host-webfonts-local/tags/5.7.9/src/Admin/Actions.php

    r3009002 r3009010  
    5959        }
    6060
    61         $action = $_GET[ 'tab' ] ?? 'omgf-optimize-settings';
     61        $action = $_GET[ 'tab' ] ? $_GET[ 'tab' ] . '-options' : 'omgf-optimize-settings-options';
    6262        $nonce  = $_POST[ '_wpnonce' ] ?? '';
    6363
    64         wp_verify_nonce( $nonce, $action );
     64        if ( wp_verify_nonce( $nonce, $action ) < 1 ) {
     65            return;
     66        }
    6567
    6668        if ( ! current_user_can( 'manage_options' ) ) {
     
    106108        // Redirect back to the settings page that was submitted.
    107109        $goback = add_query_arg( 'settings-updated', 'true', wp_get_referer() );
     110
    108111        // phpcs:ignore
    109112        wp_redirect( $goback );
  • host-webfonts-local/trunk/host-webfonts-local.php

    r3009002 r3009010  
    44 * Plugin URI: https://daan.dev/wordpress/omgf/
    55 * Description: Increase GDPR/DSGVO compliance and leverage browser cache by automatically self-hosting Google Fonts.
    6  * Version: 5.7.8
     6 * Version: 5.7.9
    77 * Author: Daan from Daan.dev
    88 * Author URI: https://daan.dev
     
    3131/**
    3232 * All systems GO!!!
    33  * @return Plugin
     33 * @return OMGF\Plugin
    3434 */
    3535$omgf = new OMGF\Plugin();
  • host-webfonts-local/trunk/readme.txt

    r3009002 r3009010  
    44Requires at least: 4.6
    55Tested up to: 6.3
    6 Stable tag: 5.7.8
     6Stable tag: 5.7.9
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    7979
    8080== Changelog ==
     81
     82= 5.7.9 =
     83* Fixed: this time a proper CSRF fix! It's been a long day.
    8184
    8285= 5.7.8 =
  • host-webfonts-local/trunk/src/Admin/Actions.php

    r3009002 r3009010  
    5959        }
    6060
    61         $action = $_GET[ 'tab' ] ?? 'omgf-optimize-settings';
     61        $action = $_GET[ 'tab' ] ? $_GET[ 'tab' ] . '-options' : 'omgf-optimize-settings-options';
    6262        $nonce  = $_POST[ '_wpnonce' ] ?? '';
    6363
    64         wp_verify_nonce( $nonce, $action );
     64        if ( wp_verify_nonce( $nonce, $action ) < 1 ) {
     65            return;
     66        }
    6567
    6668        if ( ! current_user_can( 'manage_options' ) ) {
     
    106108        // Redirect back to the settings page that was submitted.
    107109        $goback = add_query_arg( 'settings-updated', 'true', wp_get_referer() );
     110
    108111        // phpcs:ignore
    109112        wp_redirect( $goback );
Note: See TracChangeset for help on using the changeset viewer.