Changeset 3034585
- Timestamp:
- 02/12/2024 12:58:08 PM (2 years ago)
- Location:
- dashboard-to-do-list/trunk
- Files:
-
- 3 edited
-
admin/todo-widget.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
tdlw.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dashboard-to-do-list/trunk/admin/todo-widget.php
r3030188 r3034585 13 13 if ( !function_exists( 'ardtdw_widgetupdate' ) ) { 14 14 function ardtdw_widgetupdate(){ 15 if ( 'POST' == $_SERVER['REQUEST_METHOD'] ) { 16 if( isset($_POST['ardtdw-save']) || wp_verify_nonce( $_POST['ardtdw_confirm'], 'ardtdw_update_list' ) ) { 17 if(isset($_POST['ardtdw-textarea'])) { 15 if(isset($_POST['ardtdw-save'])) { 16 if(isset($_POST['ardtdw_confirm']) && wp_verify_nonce( $_POST['ardtdw_confirm'], 'ardtdw_update_list')) { 17 18 if(isset($_POST['ardtdw-textarea'])) { 18 19 update_option( 19 20 'ardtdw-textarea', … … 75 76 <?php } 76 77 } 78 } else { 79 print 'Sorry, your nonce did not verify.'; 80 exit; 77 81 } 78 82 } 83 79 84 } 80 85 } … … 109 114 </p> 110 115 <?php } ?> 116 <?php wp_nonce_field( 'ardtdw_update_list', 'ardtdw_confirm' ); ?> 111 117 <input type='submit' value='<?php _e( 'Save','dashboard-to-do-list'); ?>' class='button-primary' name='ardtdw-save'> 112 <?php wp_nonce_field( 'ardtdw_update_list', 'ardtdw_confirm' ); ?>113 118 </form> 114 119 <?php -
dashboard-to-do-list/trunk/readme.txt
r3030207 r3034585 6 6 Tested up to: 6.4 7 7 Requires PHP: 5.6 8 Stable version: 1.3. 18 Stable version: 1.3.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 If your question is not answered here, please create a new topic in the [WordPress support forum](https://wordpress.org/support/plugin/dashboard-to-do-list/). 56 56 57 = Where do I report security bugs? = 57 == Changelog == 58 = 1.3.2 = 59 * Patched reported Cross Site Request Forgery (CSRF) vulnerability when saving the dashboard widget. 58 60 59 You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. [Report a security vulnerability.](https://patchstack.com/database/vdp/dashboard-to-do-list)60 61 62 == Changelog ==63 61 = 1.3.1 = 64 62 * Fixed capabilities bug when saving the widget if switching between user roles (thanks to chrslcy). -
dashboard-to-do-list/trunk/tdlw.php
r3030188 r3034585 3 3 Plugin Name: Dashboard To-Do List 4 4 Description: Dashboard To-Do list widget with option to show as a floating list on your website. 5 Version: 1.3. 15 Version: 1.3.2 6 6 Author: Andrew Rapps 7 7 Author URI: https://arwebdesign.co.uk
Note: See TracChangeset
for help on using the changeset viewer.