Changeset 3435506
- Timestamp:
- 01/08/2026 10:02:00 PM (2 months ago)
- Location:
- mailchimp/tags/1.9.1
- Files:
-
- 3 edited
- 1 copied
-
. (copied) (copied from mailchimp/tags/1.9.0)
-
includes/admin/templates/settings.php (modified) (1 diff)
-
mailchimp.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailchimp/tags/1.9.1/includes/admin/templates/settings.php
r3306750 r3435506 104 104 <td> 105 105 <input type="hidden" name="mcsf_action" value="update_mc_list_id" /> 106 <?php wp_nonce_field( 'update_mc_list_id_action', 'update_mc_list_id_nonce' ); ?> 106 107 <input type="submit" name="Submit" value="<?php esc_attr_e( 'Update List', 'mailchimp' ); ?>" class="button mailchimp-sf-button small" /> 107 108 </td> -
mailchimp/tags/1.9.1/mailchimp.php
r3306750 r3435506 5 5 * Description: Add a Mailchimp signup form block, widget or shortcode to your WordPress site. 6 6 * Text Domain: mailchimp 7 * Version: 1.9. 07 * Version: 1.9.1 8 8 * Requires at least: 6.4 9 9 * Requires PHP: 7.0 … … 68 68 69 69 // Version constant for easy CSS refreshes 70 define( 'MCSF_VER', '1.9. 0' );70 define( 'MCSF_VER', '1.9.1' ); 71 71 72 72 // What's our permission (capability) threshold … … 531 531 } 532 532 533 if ( 534 ! current_user_can( MCSF_CAP_THRESHOLD ) || 535 ! isset( $_POST['update_mc_list_id_nonce'] ) || 536 ! wp_verify_nonce( sanitize_key( $_POST['update_mc_list_id_nonce'] ), 'update_mc_list_id_action' ) 537 ) { 538 wp_die( 'Security check failed.' ); 539 } 540 533 541 if ( empty( $_POST['mc_list_id'] ) ) { 534 542 $msg = esc_html__( 'Please choose a valid list', 'mailchimp' ); … … 536 544 return; 537 545 } 538 539 // Simple permission check before going through all this540 if ( ! current_user_can( MCSF_CAP_THRESHOLD ) ) { return; }541 546 542 547 $api = mailchimp_sf_get_api(); -
mailchimp/tags/1.9.1/readme.txt
r3306750 r3435506 3 3 Tags: mailchimp, email, newsletter, signup, marketing 4 4 Tested up to: 6.8 5 Stable tag: 1.9. 05 Stable tag: 1.9.1 6 6 License: GPL-2.0-or-later 7 7 License URI: https://spdx.org/licenses/GPL-2.0-or-later.html … … 80 80 81 81 == Changelog == 82 83 = 1.9.1 - 2026-01-08 = 84 * **Fix:** Provide CSRF hardening for Mailchimp List changes. 82 85 83 86 = 1.9.0 - 2025-06-04 =
Note: See TracChangeset
for help on using the changeset viewer.