Changeset 3358927
- Timestamp:
- 09/10/2025 03:37:01 AM (6 months ago)
- Location:
- wp-email-template/trunk
- Files:
-
- 6 edited
-
admin/admin-interface.php (modified) (2 diffs)
-
admin/email-init.php (modified) (1 diff)
-
classes/class-email-exclude-subject-data.php (modified) (1 diff)
-
classes/class-email-hook.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
wp-email-template.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-email-template/trunk/admin/admin-interface.php
r3000618 r3358927 52 52 // AJAX hide yellow message dontshow 53 53 add_action( 'wp_ajax_'.$this->plugin_name.'_a3_admin_ui_event', array( $this, 'a3_admin_ui_event' ) ); 54 add_action( 'wp_ajax_nopriv_'.$this->plugin_name.'_a3_admin_ui_event', array( $this, 'a3_admin_ui_event' ) );55 56 54 } 57 55 … … 174 172 public function a3_admin_ui_event() { 175 173 check_ajax_referer( $this->plugin_name. '_a3_admin_ui_event', 'security' ); 174 175 // Verify user has proper capabilities. 176 if ( ! current_user_can( 'manage_options' ) ) { 177 wp_die( __( 'You do not have sufficient permissions to access this page.', 'wp-email-template' ) ); 178 } 179 176 180 if ( isset( $_REQUEST['type'] ) ) { 177 181 switch ( trim( sanitize_text_field( wp_unslash( $_REQUEST['type'] ) ) ) ) { -
wp-email-template/trunk/admin/email-init.php
r2808784 r3358927 53 53 54 54 add_action('wp_ajax_preview_wp_email_template', array('\A3Rev\EmailTemplate\Hook_Filter', 'preview_wp_email_template') ); 55 add_action('wp_ajax_nopriv_preview_wp_email_template', array('\A3Rev\EmailTemplate\Hook_Filter', 'preview_wp_email_template') ); 55 // Removed wp_ajax_nopriv_ action for security - preview should only be available to logged-in users 56 56 57 57 // Compatibility with Formidable plugin with disable the encoding subject title -
wp-email-template/trunk/classes/class-email-exclude-subject-data.php
r2212678 r3358927 14 14 15 15 public function __construct() { 16 if ( is_admin() ) { 17 // Ajax Update Portfolio Feature Order 18 add_action( 'wp_ajax_portfolio_update_feature_order', array( $this, 'portfolio_update_feature_order' ) ); 19 add_action( 'wp_ajax_nopriv_portfolio_update_feature_order', array( $this, 'portfolio_update_feature_order' ) ); 20 } 16 21 17 } 22 18 -
wp-email-template/trunk/classes/class-email-hook.php
r2689887 r3358927 154 154 public static function preview_wp_email_template() { 155 155 check_ajax_referer( 'preview_wp_email_template', 'security' ); 156 157 // Verify user has proper capabilities. 158 if ( ! current_user_can( 'manage_options' ) ) { 159 wp_die( __( 'You do not have sufficient permissions to access this page.', 'wp-email-template' ) ); 160 } 156 161 157 162 $email_heading = __('Email preview', 'wp-email-template' ); -
wp-email-template/trunk/readme.txt
r3272188 r3358927 3 3 Tags: wordpress email template, wordpress email, email, email template, contact, contact forms, wp e-commerce email, woocommerce email, contact form 7, e-commerce email, comment forms, comments, forms 4 4 Requires at least: 6.0 5 Tested up to: 6.8 6 Stable tag: 2.8. 35 Tested up to: 6.8.2 6 Stable tag: 2.8.4 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 149 149 150 150 == Changelog == 151 152 = 2.8.4 - 2025/09/09 = 153 * This release has a security vulnerability patch, plus compatibility with WordPress 6.8.2 and WooCommerce 10.1.2. 154 * Tweak - Tested for compatibility with WordPress 6.8.2 155 * Tweak - Tested for compatibility with WooCommerce 10.1.2 156 * Security - Fixed a Cross-Site Request Forgery (CSRF) vulnerability in AJAX requests 151 157 152 158 = 2.8.3 - 2024/07/13 = … … 851 857 == Upgrade Notice == 852 858 859 = 2.8.4 = 860 This release has a security vulnerability patch, plus compatibility with WordPress 6.8.2 and WooCommerce 10.1.2. 861 853 862 = 2.8.3 = 854 863 This release has various tweaks for compatibility with WordPress 6.6 and WooCommerce 8.9.3 -
wp-email-template/trunk/wp-email-template.php
r3272188 r3358927 4 4 Plugin URI: http://a3rev.com/shop/wp-email-template/ 5 5 Description: This plugin automatically adds a professional, responsive, customizable, email browser optimized HTML template for all WordPress and WordPress plugin generated emails that are sent from your site to customers and admins. Works with any WordPress plugin including the e-commerce plugins WooCommerce and WP e-Commerce. 6 Version: 2.8. 36 Version: 2.8.4 7 7 Requires at least: 6.0 8 Tested up to: 6.8 8 Tested up to: 6.8.2 9 9 Author: a3rev Software 10 10 Author URI: https://a3rev.com/ … … 12 12 Domain Path: /languages 13 13 WC requires at least: 6.0.0 14 WC tested up to: 9.8.014 WC tested up to: 10.1.2 15 15 License: This software is under commercial license and copyright to A3 Revolution Software Development team 16 16 … … 39 39 define( 'WP_EMAIL_TEMPLATE_KEY', 'wp_email_template' ); 40 40 define( 'WP_EMAIL_TEMPLATE_PREFIX', 'wp_email_template_' ); 41 define( 'WP_EMAIL_TEMPLATE_VERSION', '2.8. 3' );41 define( 'WP_EMAIL_TEMPLATE_VERSION', '2.8.4' ); 42 42 define( 'WP_EMAIL_TEMPLATE_G_FONTS', true ); 43 43
Note: See TracChangeset
for help on using the changeset viewer.