Changeset 3821311
- Timestamp:
- 11/24/2026 07:06:23 PM (10 hours ago)
- Location:
- hook-fuse
- Files:
-
- 6 edited
- 1 copied
-
tags/0.1.2 (copied) (copied from hook-fuse/trunk )
-
tags/0.1.2/hook-fuse.php (modified) (2 diffs)
-
tags/0.1.2/includes/class-hook-fuse-admin.php (modified) (2 diffs)
-
tags/0.1.2/readme.txt (modified) (2 diffs)
-
trunk/hook-fuse.php (modified) (2 diffs)
-
trunk/includes/class-hook-fuse-admin.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hook-fuse/tags/0.1.2/hook-fuse.php
r3821277 r3821311 4 4 * Plugin URI: https://github.com/orcnd/hook-fuse 5 5 * Description: Stops a crash inside another plugin's hook from taking the whole page down. The error is caught, logged and reported once a week instead. 6 * Version: 0.1. 16 * Version: 0.1.2 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'HOOK_FUSE_VERSION', '0.1. 1' );21 define( 'HOOK_FUSE_VERSION', '0.1.2' ); 22 22 define( 'HOOK_FUSE_FILE', __FILE__ ); 23 23 define( 'HOOK_FUSE_DIR', plugin_dir_path( __FILE__ ) ); -
hook-fuse/tags/0.1.2/includes/class-hook-fuse-admin.php
r3821277 r3821311 181 181 <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>"> 182 182 <input type="hidden" name="action" value="hook_fuse_clear"> 183 <?php wp_nonce_field( 'hook_fuse_clear' ); ?>183 <?php wp_nonce_field( 'hook_fuse_clear', 'hook_fuse_clear_nonce' ); ?> 184 184 <?php submit_button( __( 'Clear the log', 'hook-fuse' ), 'secondary', 'hook-fuse-clear' ); ?> 185 185 </form> … … 251 251 wp_die( esc_html__( 'You are not allowed to do this.', 'hook-fuse' ), 403 ); 252 252 } 253 check_admin_referer( 'hook_fuse_clear' );253 check_admin_referer( 'hook_fuse_clear', 'hook_fuse_clear_nonce' ); 254 254 $this->log->clear(); 255 255 wp_safe_redirect( admin_url( 'tools.php?page=' . self::PAGE ) ); -
hook-fuse/tags/0.1.2/readme.txt
r3821277 r3821311 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.1. 17 Stable tag: 0.1.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 84 84 == Changelog == 85 85 86 = 0.1.2 = 87 * The hidden security fields of the two forms on the Hook Fuse page no longer share the same id. 88 86 89 = 0.1.1 = 87 90 * The error log fits narrow screens: long hook, callback and file names now break onto a new line, and on phones each value is shown under its column name. -
hook-fuse/trunk/hook-fuse.php
r3821277 r3821311 4 4 * Plugin URI: https://github.com/orcnd/hook-fuse 5 5 * Description: Stops a crash inside another plugin's hook from taking the whole page down. The error is caught, logged and reported once a week instead. 6 * Version: 0.1. 16 * Version: 0.1.2 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'HOOK_FUSE_VERSION', '0.1. 1' );21 define( 'HOOK_FUSE_VERSION', '0.1.2' ); 22 22 define( 'HOOK_FUSE_FILE', __FILE__ ); 23 23 define( 'HOOK_FUSE_DIR', plugin_dir_path( __FILE__ ) ); -
hook-fuse/trunk/includes/class-hook-fuse-admin.php
r3821277 r3821311 181 181 <form method="post" action="<?php echo esc_url( admin_url( 'admin-post.php' ) ); ?>"> 182 182 <input type="hidden" name="action" value="hook_fuse_clear"> 183 <?php wp_nonce_field( 'hook_fuse_clear' ); ?>183 <?php wp_nonce_field( 'hook_fuse_clear', 'hook_fuse_clear_nonce' ); ?> 184 184 <?php submit_button( __( 'Clear the log', 'hook-fuse' ), 'secondary', 'hook-fuse-clear' ); ?> 185 185 </form> … … 251 251 wp_die( esc_html__( 'You are not allowed to do this.', 'hook-fuse' ), 403 ); 252 252 } 253 check_admin_referer( 'hook_fuse_clear' );253 check_admin_referer( 'hook_fuse_clear', 'hook_fuse_clear_nonce' ); 254 254 $this->log->clear(); 255 255 wp_safe_redirect( admin_url( 'tools.php?page=' . self::PAGE ) ); -
hook-fuse/trunk/readme.txt
r3821277 r3821311 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.1. 17 Stable tag: 0.1.2 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 84 84 == Changelog == 85 85 86 = 0.1.2 = 87 * The hidden security fields of the two forms on the Hook Fuse page no longer share the same id. 88 86 89 = 0.1.1 = 87 90 * The error log fits narrow screens: long hook, callback and file names now break onto a new line, and on phones each value is shown under its column name.
Note:
See TracChangeset
for help on using the changeset viewer.