Changeset 3300929
- Timestamp:
- 05/26/2025 05:05:45 PM (10 months ago)
- Location:
- mailjet-for-wordpress/trunk
- Files:
-
- 5 edited
-
CHANGELOG.md (modified) (1 diff)
-
README.md (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
src/includes/SettingsPages/IntegrationsSettings.php (modified) (10 diffs)
-
wp-mailjet.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mailjet-for-wordpress/trunk/CHANGELOG.md
r3292624 r3300929 1 1 ## Changelog 2 3 ##### 6.1.5 4 - Fixed issue with wrong permission check on integration page 2 5 3 6 ##### 6.1.4 -
mailjet-for-wordpress/trunk/README.md
r3292624 r3300929 5 5 - Requires at least: 4.4 6 6 - Tested up to: 6.8.1 7 - Stable tag: 6.1. 47 - Stable tag: 6.1.5 8 8 - Requires PHP: 7.4 9 9 - License: GPLv2 or later … … 163 163 ## Changelog 164 164 165 ##### 6.1.5 166 - Fixed issue with wrong permission check on integration page 167 165 168 ##### 6.1.4 166 169 - Fix issues in the input fields. Tested with new WP version -
mailjet-for-wordpress/trunk/readme.txt
r3292624 r3300929 5 5 - Requires at least: 4.4 6 6 - Tested up to: 6.8.1 7 - Stable tag: 6.1. 47 - Stable tag: 6.1.5 8 8 - Requires PHP: 7.4 9 9 - License: GPLv2 or later -
mailjet-for-wordpress/trunk/src/includes/SettingsPages/IntegrationsSettings.php
r3292624 r3300929 217 217 ?> 218 218 </label> 219 <input name="woocommerce[mailjet_woo_checkout_box_text]" id="sub_letter" type="text" value="<?php echo esc_attr($checkoutCheckboxText);?>" class="mj-text-field" placeholder=" 220 <?php 221 echo __('Subscribe to our newsletter', 'mailjet-for-wordpress'); 222 ?> 223 "> 219 <input name="woocommerce[mailjet_woo_checkout_box_text]" id="sub_letter" type="text" value="<?php echo esc_attr($checkoutCheckboxText);?>" class="mj-text-field" placeholder="<?php echo __('Subscribe to our newsletter', 'mailjet-for-wordpress');?>"> 224 220 </div> 225 221 <label class="checkboxLabel"> … … 270 266 ?> 271 267 </label> 272 <input name="woocommerce[mailjet_woo_register_box_text]" id="sub_letter_register" type="text" value=" 273 <?php 274 echo esc_attr($registerCheckboxText); 275 ?> 276 " class="mj-text-field" placeholder=" 277 <?php 278 echo __('Subscribe to our newsletter', 'mailjet-for-wordpress'); 279 ?> 268 <input name="woocommerce[mailjet_woo_register_box_text]" id="sub_letter_register" type="text" value="<?php echo esc_attr($registerCheckboxText); ?>" class="mj-text-field" placeholder="<?php echo __('Subscribe to our newsletter', 'mailjet-for-wordpress');?> 280 269 "> 281 270 </div> … … 328 317 ?> 329 318 </label> 330 <input name="woocommerce[mailjet_woo_banner_text]" id="banner_text" value=" 331 <?php 332 echo esc_attr($bannerText); 333 ?> 334 " class="mj-text-field" type="text" placeholder=" 335 <?php 336 echo __('Subscribe to our newsletter', 'mailjet-for-wordpress'); 337 ?> 319 <input name="woocommerce[mailjet_woo_banner_text]" id="banner_text" value="<?php echo esc_attr($bannerText); ?>" class="mj-text-field" type="text" placeholder="<?php echo __('Subscribe to our newsletter', 'mailjet-for-wordpress'); ?> 338 320 "> 339 321 </div> … … 344 326 ?> 345 327 </label> 346 <input name="woocommerce[mailjet_woo_banner_label]" id="banner_label" value=" 347 <?php 348 echo esc_attr($bannerLabel); 349 ?> 350 " class="mj-text-field" type="text" placeholder=" 351 <?php 352 echo __('Subscribe now', 'mailjet-for-wordpress'); 353 ?> 328 <input name="woocommerce[mailjet_woo_banner_label]" id="banner_label" value="<?php echo esc_attr($bannerLabel); ?>" class="mj-text-field" type="text" placeholder="<?php echo __('Subscribe now', 'mailjet-for-wordpress');?> 354 329 "> 355 330 </div> … … 461 436 ?> 462 437 </label> 463 <input name="cf7[cf7_email]" id="cf7_email" value=" 464 <?php 465 echo esc_attr($email); 466 ?> 467 " type="text" 468 placeholder=" 469 <?php 470 _e('e.g. [your-email]', 'mailjet-for-wordpress'); 471 ?> 472 " 438 <input name="cf7[cf7_email]" id="cf7_email" value="<?php echo esc_attr($email);?>" type="text" 439 placeholder="<?php _e('e.g. [your-email]', 'mailjet-for-wordpress');?>" 473 440 class="mj-text-field"/> 474 441 </div> … … 480 447 ?> 481 448 </label> 482 <input name="cf7[cf7_fromname]" id="cf7_fromname" value=" 483 <?php 484 echo esc_attr($from); 485 ?> 486 " type="text" 487 placeholder=" 488 <?php 489 _e('e.g. [your-name]', 'mailjet-for-wordpress'); 490 ?> 491 " 449 <input name="cf7[cf7_fromname]" id="cf7_fromname" value="<?php echo esc_attr($from); ?>" type="text" 450 placeholder="<?php _e('e.g. [your-name]', 'mailjet-for-wordpress'); ?>" 492 451 class="mj-text-field"/> 493 452 </div> … … 502 461 <div class="mj-copy-wrapper"> 503 462 <input name="cf7[cf7_contact_properties]" id="cf7_contact_properties" 504 value='[checkbox mailjet-opt-in default:0 " 505 <?php 506 echo __('Subscribe to our newsletter', 'mailjet-for-wordpress'); 507 ?> 508 "]' 463 value='[checkbox mailjet-opt-in default:0 "<?php echo __('Subscribe to our newsletter', 'mailjet-for-wordpress');?>"]' 509 464 class="widefat cf7_input" disabled="disabled"/> 510 465 <i class="fa fa-copy mj-copy-icon" id="copy_properties"></i> … … 608 563 </p> 609 564 <hr> 610 <form action=" 611 <?php 612 echo esc_url(admin_url('admin-post.php')); 613 ?> 614 " method="POST"> 565 <form action="<?php echo esc_url(admin_url('admin-post.php')); ?>" method="POST"> 615 566 <?php 616 567 // output security fields for the registered setting "mailjet" … … 623 574 ?> 624 575 <input type="hidden" name="action" value="integrationsSettings_custom_hook"> 625 <input type="hidden" name="custom_nonce" value=" 626 <?php 627 echo esc_attr($nonce); 628 ?> 629 "> 576 <input type="hidden" name="custom_nonce" value="<?php echo esc_attr($nonce); ?>"> 630 577 <button type="submit" id="integrationsSubmit" class="mj-btn btnPrimary MailjetSubmit" 631 name="submit"> 632 <?php 633 echo esc_attr($saveButton); 634 ?> 635 </button> 578 name="submit"><?php echo esc_attr($saveButton);?> 579 </button> 636 580 </form> 637 581 </div> … … 648 592 public function integrations_post_handler() { 649 593 $postData = (object) $_POST; 650 if ( ! isset($postData->custom_nonce) || ! wp_verify_nonce($postData->custom_nonce, 'mailjet_integrations_page_html')) {594 if ( ! isset($postData->custom_nonce) || !wp_verify_nonce($postData->custom_nonce, 'mailjet_integrations_page_html')) { 651 595 add_settings_error('mailjet_messages', 'mailjet_message', __('Your permissions don\'t match! Please refresh your session and if the problem persists, contact our support team.', 'mailjet-for-wordpress'), 'error'); 652 596 settings_errors('mailjet_messages'); -
mailjet-for-wordpress/trunk/wp-mailjet.php
r3292624 r3300929 15 15 * Plugin URI: https://www.mailjet.com/partners/wordpress/ 16 16 * Description: The Best WordPress Plugin For Email Newsletters. 17 * Version: 6.1. 417 * Version: 6.1.5 18 18 * Tested up to: 6.8.1 19 19 * Author: Mailjet SAS … … 57 57 * Mailjet plugin version. 58 58 */ 59 define('MAILJET_VERSION', '6.1. 4');59 define('MAILJET_VERSION', '6.1.5'); 60 60 61 61 /**
Note: See TracChangeset
for help on using the changeset viewer.