Changeset 3452582
- Timestamp:
- 02/03/2026 06:00:39 AM (8 weeks ago)
- Location:
- wiser-review/trunk
- Files:
-
- 3 edited
-
assets/js/wiserw-js.js (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
wiser-review.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wiser-review/trunk/assets/js/wiserw-js.js
r3379720 r3452582 106 106 type : 'POST', 107 107 url : ajaxurl, 108 data : $form.serialize() + '&action=wiserrw_save_settings ',108 data : $form.serialize() + '&action=wiserrw_save_settings&nonce=' + wiserrw_ajax_var.nonce, 109 109 success: function (res) { 110 110 const $toggle = $current_chek.closest('.wiserrw_toggle'); -
wiser-review/trunk/readme.txt
r3399023 r3452582 4 4 Donate link: https://wiserreview.com/ 5 5 Requires at least: 5.6 6 Tested up to: 6. 86 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 2.98 Stable tag: 3.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 208 208 == Changelog == 209 209 210 = 3.0 = 211 * Improved: Star rating clicks & optimized for better performance 212 210 213 = 2.9 = 211 214 * Fixed: Plugin name updated to comply with WordPress.org trademark guidelines -
wiser-review/trunk/wiser-review.php
r3399023 r3452582 4 4 * Plugin URI: https://wiserreview.com 5 5 * Description: Collect, manage, and display powerful product reviews and testimonials in WooCommerce using the WiserReview platform. Boost trust and conversion with automated review collection. 6 * Version: 2.96 * Version: 3.0 7 7 * Author: Wiser Notify 8 8 * Author URI: https://wiserreview.com 9 9 * Requires Plugins: woocommerce 10 * Tested up to: 6. 810 * Tested up to: 6.9 11 11 * Requires at least: 5.6 12 12 * Requires PHP: 7.4 … … 24 24 define( 'WISERRW_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); 25 25 define( 'WISERRW_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 26 define( 'WISERRW_PLUGIN_VERSION', ' 2.9' );26 define( 'WISERRW_PLUGIN_VERSION', '3.0' ); 27 27 define( 'WISERRW_API_HOST', 'https://api.wiserreview.com/api/woocommerce/' ); 28 28 … … 58 58 59 59 function wiserrw_ajax_save_settings() { 60 // Verify nonce for security 61 if ( ! isset( $_POST['nonce'] ) || ! wp_verify_nonce( sanitize_text_field( wp_unslash( $_POST['nonce'] ) ), 'wiserrw_save_settings' ) ) { 62 wp_send_json_error( array( 63 'message' => 'Security check failed.', 64 ), 403 ); 65 } 66 67 // Check user capabilities 68 if ( ! current_user_can( 'manage_options' ) ) { 69 wp_send_json_error( array( 70 'message' => 'Unauthorized access.', 71 ), 403 ); 72 } 73 60 74 $wiserrw_data = isset( $_POST['wiserrw_data'] ) ? array_map( 'sanitize_text_field', wp_unslash( $_POST['wiserrw_data'] ) ) : array(); 61 75 update_option( 'wiserrw_api_settings', $wiserrw_data );
Note: See TracChangeset
for help on using the changeset viewer.