Changeset 3435499
- Timestamp:
- 01/08/2026 09:51:15 PM (2 months ago)
- Location:
- mailchimp/tags/1.6.4
- Files:
-
- 3 edited
- 1 copied
-
. (copied) (copied from mailchimp/tags/1.6.3)
-
mailchimp.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
views/setup_page.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mailchimp/tags/1.6.4/mailchimp.php
r3232267 r3435499 5 5 * Description: Add a Mailchimp signup form block, widget or shortcode to your WordPress site. 6 6 * Text Domain: mailchimp 7 * Version: 1.6. 37 * Version: 1.6.4 8 8 * Requires at least: 6.3 9 9 * Requires PHP: 7.0 … … 66 66 67 67 // Version constant for easy CSS refreshes 68 define( 'MCSF_VER', '1.6. 3' );68 define( 'MCSF_VER', '1.6.4' ); 69 69 70 70 // What's our permission (capability) threshold … … 590 590 } 591 591 592 if ( 593 ! current_user_can( MCSF_CAP_THRESHOLD ) || 594 ! isset( $_POST['update_mc_list_id_nonce'] ) || 595 ! wp_verify_nonce( sanitize_key( $_POST['update_mc_list_id_nonce'] ), 'update_mc_list_id_action' ) 596 ) { 597 wp_die( 'Security check failed.' ); 598 } 599 592 600 if ( empty( $_POST['mc_list_id'] ) ) { 593 601 $msg = '<p class="error_msg">' . esc_html__( 'Please choose a valid list', 'mailchimp' ) . '</p>'; … … 595 603 return; 596 604 } 597 598 // Simple permission check before going through all this599 if ( ! current_user_can( MCSF_CAP_THRESHOLD ) ) { return; }600 605 601 606 $api = mailchimp_sf_get_api(); -
mailchimp/tags/1.6.4/readme.txt
r3232267 r3435499 3 3 Tags: mailchimp, email, newsletter, signup, marketing 4 4 Tested up to: 6.7 5 Stable tag: 1.6. 35 Stable tag: 1.6.4 6 6 License: GPL-2.0-or-later 7 7 License URI: https://spdx.org/licenses/GPL-2.0-or-later.html … … 81 81 82 82 == Changelog == 83 84 = 1.6.4 - 2026-01-08 = 85 * **Fix:** Provide CSRF hardening for Mailchimp List changes. 83 86 84 87 = 1.6.3 - 2025-01-30 = -
mailchimp/tags/1.6.4/views/setup_page.php
r3232267 r3435499 105 105 <td> 106 106 <input type="hidden" name="mcsf_action" value="update_mc_list_id" /> 107 <?php wp_nonce_field( 'update_mc_list_id_action', 'update_mc_list_id_nonce' ); ?> 107 108 <input type="submit" name="Submit" value="<?php esc_attr_e( 'Update List', 'mailchimp' ); ?>" class="button mailchimp-sf-button small" /> 108 109 </td>
Note: See TracChangeset
for help on using the changeset viewer.