Changeset 3428837
- Timestamp:
- 12/29/2025 06:11:50 AM (2 months ago)
- Location:
- subscribe2
- Files:
-
- 10 edited
- 1 copied
-
tags/10.45 (copied) (copied from subscribe2/trunk)
-
tags/10.45/admin/subscribers.php (modified) (1 diff)
-
tags/10.45/changelog.txt (modified) (1 diff)
-
tags/10.45/classes/class-s2-core.php (modified) (1 diff)
-
tags/10.45/readme.txt (modified) (2 diffs)
-
tags/10.45/subscribe2.php (modified) (2 diffs)
-
trunk/admin/subscribers.php (modified) (1 diff)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/classes/class-s2-core.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/subscribe2.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
subscribe2/tags/10.45/admin/subscribers.php
r3000462 r3428837 226 226 echo '<form method="post">' . "\r\n"; 227 227 echo '<input type="hidden" name="s2_admin" />' . "\r\n"; 228 echo wp_nonce_field( 's2-export-csv', 's2-export-csv' ); 228 229 229 230 $exclude = array(); -
subscribe2/tags/10.45/changelog.txt
r3225549 r3428837 1 = 10.45 (29th Dec, 2025) = 2 3 * Enhance: Capability checks added for better security. 4 1 5 = 10.44 (20th Jan, 2025) = 2 6 -
subscribe2/tags/10.45/classes/class-s2-core.php
r3225549 r3428837 2365 2365 // Capture CSV export. 2366 2366 if ( isset( $_POST['s2_admin'] ) && isset( $_POST['csv'] ) ) { 2367 // Security check: Verify user has proper capabilities. 2368 if ( ! current_user_can( apply_filters( 's2_capability', 'manage_options', 'manage' ) ) ) { 2369 wp_die( 'Not permitted.' ); 2370 } 2371 2372 // Security check: Verify nonce. 2373 if ( 2374 ! isset( $_REQUEST['s2-export-csv'] ) || 2375 ! wp_verify_nonce( sanitize_key( $_REQUEST['s2-export-csv'] ), 's2-export-csv' ) 2376 ) { 2377 wp_die( 'Request cannot be completed.' ); 2378 } 2379 2367 2380 $date = gmdate( 'Y-m-d' ); 2368 2381 header( 'Content-Description: File Transfer' ); -
subscribe2/tags/10.45/readme.txt
r3225549 r3428837 4 4 Tags: posts, subscription, email, subscribe, notify, notification, newsletter, post notification, email marketing, optin, form 5 5 Requires at least: 4.0 6 Tested up to: 6. 7.17 Stable tag: 10.4 46 Tested up to: 6.9 7 Stable tag: 10.45 8 8 Requires PHP: 5.4 9 9 License: GPLv3 … … 72 72 73 73 == Changelog == 74 75 = 10.45 (29th Dec, 2025) = 76 77 * Enhance: Capability checks added for better security. 74 78 75 79 = 10.44 (20th Jan, 2025) = -
subscribe2/tags/10.45/subscribe2.php
r3225549 r3428837 4 4 Plugin URI: https://getwemail.io 5 5 Description: Notifies an email list when new entries are posted. 6 Version: 10.4 46 Version: 10.45 7 7 Author: weMail 8 8 Author URI: https://getwemail.io … … 56 56 // Our version number. Don't touch this or any line below. 57 57 // Unless you know exactly what you are doing. 58 define( 'S2VERSION', '10.4 4' );58 define( 'S2VERSION', '10.45' ); 59 59 define( 'S2PLUGIN', __FILE__ ); 60 60 define( 'S2PATH', trailingslashit( dirname( __FILE__ ) ) ); -
subscribe2/trunk/admin/subscribers.php
r3000462 r3428837 226 226 echo '<form method="post">' . "\r\n"; 227 227 echo '<input type="hidden" name="s2_admin" />' . "\r\n"; 228 echo wp_nonce_field( 's2-export-csv', 's2-export-csv' ); 228 229 229 230 $exclude = array(); -
subscribe2/trunk/changelog.txt
r3225549 r3428837 1 = 10.45 (29th Dec, 2025) = 2 3 * Enhance: Capability checks added for better security. 4 1 5 = 10.44 (20th Jan, 2025) = 2 6 -
subscribe2/trunk/classes/class-s2-core.php
r3225549 r3428837 2365 2365 // Capture CSV export. 2366 2366 if ( isset( $_POST['s2_admin'] ) && isset( $_POST['csv'] ) ) { 2367 // Security check: Verify user has proper capabilities. 2368 if ( ! current_user_can( apply_filters( 's2_capability', 'manage_options', 'manage' ) ) ) { 2369 wp_die( 'Not permitted.' ); 2370 } 2371 2372 // Security check: Verify nonce. 2373 if ( 2374 ! isset( $_REQUEST['s2-export-csv'] ) || 2375 ! wp_verify_nonce( sanitize_key( $_REQUEST['s2-export-csv'] ), 's2-export-csv' ) 2376 ) { 2377 wp_die( 'Request cannot be completed.' ); 2378 } 2379 2367 2380 $date = gmdate( 'Y-m-d' ); 2368 2381 header( 'Content-Description: File Transfer' ); -
subscribe2/trunk/readme.txt
r3225549 r3428837 4 4 Tags: posts, subscription, email, subscribe, notify, notification, newsletter, post notification, email marketing, optin, form 5 5 Requires at least: 4.0 6 Tested up to: 6. 7.17 Stable tag: 10.4 46 Tested up to: 6.9 7 Stable tag: 10.45 8 8 Requires PHP: 5.4 9 9 License: GPLv3 … … 72 72 73 73 == Changelog == 74 75 = 10.45 (29th Dec, 2025) = 76 77 * Enhance: Capability checks added for better security. 74 78 75 79 = 10.44 (20th Jan, 2025) = -
subscribe2/trunk/subscribe2.php
r3225549 r3428837 4 4 Plugin URI: https://getwemail.io 5 5 Description: Notifies an email list when new entries are posted. 6 Version: 10.4 46 Version: 10.45 7 7 Author: weMail 8 8 Author URI: https://getwemail.io … … 56 56 // Our version number. Don't touch this or any line below. 57 57 // Unless you know exactly what you are doing. 58 define( 'S2VERSION', '10.4 4' );58 define( 'S2VERSION', '10.45' ); 59 59 define( 'S2PLUGIN', __FILE__ ); 60 60 define( 'S2PATH', trailingslashit( dirname( __FILE__ ) ) );
Note: See TracChangeset
for help on using the changeset viewer.