Changeset 3009010 for host-webfonts-local
- Timestamp:
- 12/12/2023 07:01:27 PM (16 months ago)
- Location:
- host-webfonts-local
- Files:
-
- 6 edited
- 1 copied
-
tags/5.7.9 (copied) (copied from host-webfonts-local/trunk)
-
tags/5.7.9/host-webfonts-local.php (modified) (2 diffs)
-
tags/5.7.9/readme.txt (modified) (2 diffs)
-
tags/5.7.9/src/Admin/Actions.php (modified) (2 diffs)
-
trunk/host-webfonts-local.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Admin/Actions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
host-webfonts-local/tags/5.7.9/host-webfonts-local.php
r3009002 r3009010 4 4 * Plugin URI: https://daan.dev/wordpress/omgf/ 5 5 * Description: Increase GDPR/DSGVO compliance and leverage browser cache by automatically self-hosting Google Fonts. 6 * Version: 5.7. 86 * Version: 5.7.9 7 7 * Author: Daan from Daan.dev 8 8 * Author URI: https://daan.dev … … 31 31 /** 32 32 * All systems GO!!! 33 * @return Plugin33 * @return OMGF\Plugin 34 34 */ 35 35 $omgf = new OMGF\Plugin(); -
host-webfonts-local/tags/5.7.9/readme.txt
r3009002 r3009010 4 4 Requires at least: 4.6 5 5 Tested up to: 6.3 6 Stable tag: 5.7. 86 Stable tag: 5.7.9 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 79 79 80 80 == Changelog == 81 82 = 5.7.9 = 83 * Fixed: this time a proper CSRF fix! It's been a long day. 81 84 82 85 = 5.7.8 = -
host-webfonts-local/tags/5.7.9/src/Admin/Actions.php
r3009002 r3009010 59 59 } 60 60 61 $action = $_GET[ 'tab' ] ? ? 'omgf-optimize-settings';61 $action = $_GET[ 'tab' ] ? $_GET[ 'tab' ] . '-options' : 'omgf-optimize-settings-options'; 62 62 $nonce = $_POST[ '_wpnonce' ] ?? ''; 63 63 64 wp_verify_nonce( $nonce, $action ); 64 if ( wp_verify_nonce( $nonce, $action ) < 1 ) { 65 return; 66 } 65 67 66 68 if ( ! current_user_can( 'manage_options' ) ) { … … 106 108 // Redirect back to the settings page that was submitted. 107 109 $goback = add_query_arg( 'settings-updated', 'true', wp_get_referer() ); 110 108 111 // phpcs:ignore 109 112 wp_redirect( $goback ); -
host-webfonts-local/trunk/host-webfonts-local.php
r3009002 r3009010 4 4 * Plugin URI: https://daan.dev/wordpress/omgf/ 5 5 * Description: Increase GDPR/DSGVO compliance and leverage browser cache by automatically self-hosting Google Fonts. 6 * Version: 5.7. 86 * Version: 5.7.9 7 7 * Author: Daan from Daan.dev 8 8 * Author URI: https://daan.dev … … 31 31 /** 32 32 * All systems GO!!! 33 * @return Plugin33 * @return OMGF\Plugin 34 34 */ 35 35 $omgf = new OMGF\Plugin(); -
host-webfonts-local/trunk/readme.txt
r3009002 r3009010 4 4 Requires at least: 4.6 5 5 Tested up to: 6.3 6 Stable tag: 5.7. 86 Stable tag: 5.7.9 7 7 Requires PHP: 7.0 8 8 License: GPLv2 or later … … 79 79 80 80 == Changelog == 81 82 = 5.7.9 = 83 * Fixed: this time a proper CSRF fix! It's been a long day. 81 84 82 85 = 5.7.8 = -
host-webfonts-local/trunk/src/Admin/Actions.php
r3009002 r3009010 59 59 } 60 60 61 $action = $_GET[ 'tab' ] ? ? 'omgf-optimize-settings';61 $action = $_GET[ 'tab' ] ? $_GET[ 'tab' ] . '-options' : 'omgf-optimize-settings-options'; 62 62 $nonce = $_POST[ '_wpnonce' ] ?? ''; 63 63 64 wp_verify_nonce( $nonce, $action ); 64 if ( wp_verify_nonce( $nonce, $action ) < 1 ) { 65 return; 66 } 65 67 66 68 if ( ! current_user_can( 'manage_options' ) ) { … … 106 108 // Redirect back to the settings page that was submitted. 107 109 $goback = add_query_arg( 'settings-updated', 'true', wp_get_referer() ); 110 108 111 // phpcs:ignore 109 112 wp_redirect( $goback );
Note: See TracChangeset
for help on using the changeset viewer.