Changeset 3417782
- Timestamp:
- 12/11/2025 10:34:55 PM (4 months ago)
- Location:
- wp-customer-reviews
- Files:
-
- 39 added
- 3 edited
-
tags/3.7.6 (added)
-
tags/3.7.6/changelog.txt (added)
-
tags/3.7.6/css (added)
-
tags/3.7.6/css/1x1.png (added)
-
tags/3.7.6/css/newstars.png (added)
-
tags/3.7.6/css/star.png (added)
-
tags/3.7.6/css/wp-customer-reviews-admin.css (added)
-
tags/3.7.6/css/wp-customer-reviews.css (added)
-
tags/3.7.6/include (added)
-
tags/3.7.6/include/admin (added)
-
tags/3.7.6/include/admin/tools (added)
-
tags/3.7.6/include/admin/tools/delete-all-reviews.php (added)
-
tags/3.7.6/include/admin/tools/reimport-2x.php (added)
-
tags/3.7.6/include/admin/tools/remove-duplicates.php (added)
-
tags/3.7.6/include/admin/wp-customer-reviews-3-admin.php (added)
-
tags/3.7.6/include/ajax.php (added)
-
tags/3.7.6/include/goatee-php (added)
-
tags/3.7.6/include/goatee-php/wpcr-goatee.php (added)
-
tags/3.7.6/include/migrate (added)
-
tags/3.7.6/include/migrate/2x-3x.php (added)
-
tags/3.7.6/include/migrate/3x-3x.php (added)
-
tags/3.7.6/include/templates (added)
-
tags/3.7.6/include/templates/frontend_review_form.html (added)
-
tags/3.7.6/include/templates/frontend_review_form_rating_field.html (added)
-
tags/3.7.6/include/templates/frontend_review_form_review_field.html (added)
-
tags/3.7.6/include/templates/frontend_review_form_text_field.html (added)
-
tags/3.7.6/include/templates/frontend_review_holder.html (added)
-
tags/3.7.6/include/templates/frontend_review_item.html (added)
-
tags/3.7.6/include/templates/frontend_review_item_aggregate.html (added)
-
tags/3.7.6/include/templates/frontend_review_item_reviews.html (added)
-
tags/3.7.6/include/templates/frontend_review_pagination.html (added)
-
tags/3.7.6/include/templates/frontend_review_rating_stars.html (added)
-
tags/3.7.6/include/templates/readme_templates.txt (added)
-
tags/3.7.6/js (added)
-
tags/3.7.6/js/wp-customer-reviews-admin.js (added)
-
tags/3.7.6/js/wp-customer-reviews.js (added)
-
tags/3.7.6/license.txt (added)
-
tags/3.7.6/readme.txt (added)
-
tags/3.7.6/wp-customer-reviews-3.php (added)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-customer-reviews-3.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-customer-reviews/trunk/changelog.txt
r3417719 r3417782 1 = 3.7.6 = 2 * 12/11/2025 3 * [Update] Bug fix with hardening updates 4 1 5 = 3.7.5 = 2 6 * 12/11/2025 -
wp-customer-reviews/trunk/readme.txt
r3417719 r3417782 5 5 Requires at least: 3.0.0 6 6 Tested up to: 6.9 7 Stable tag: 3.7. 57 Stable tag: 3.7.6 8 8 License: MIT 9 9 License URI: http://opensource.org/licenses/MIT … … 62 62 63 63 == Changelog == 64 65 = 3.7.6 = 66 * 12/11/2025 67 * [Update] Bug fix with hardening updates 64 68 65 69 = 3.7.5 = -
wp-customer-reviews/trunk/wp-customer-reviews-3.php
r3417719 r3417782 4 4 * Plugin URI: https://wordpress.org/plugins/wp-customer-reviews/ 5 5 * Description: Allows your visitors to leave business / product reviews. Testimonials are in Microdata / Microformat and may display star ratings in search results. 6 * Version: 3.7. 56 * Version: 3.7.6 7 7 * Author: Aaron Queen 8 8 * Author URI: https://wordpress.org/plugins/wp-customer-reviews/ … … 200 200 } 201 201 202 function sanitize_p_obj_array($valArr) { 203 foreach ($valArr as $k => $v) { 204 if (is_array($v)) { 205 $valArr[$k] = $this->sanitize_p_obj_array($v); 206 continue; 207 } 208 209 if ($this->isXssAttempt($v)) { 210 $valArr[$k] = ''; 211 } 212 } 213 214 return $valArr; 215 } 216 217 function sanitize_p_obj() { 218 foreach ($this->p as $c => $val) { 219 if (is_array($val)) { 220 $this->p->$c = $this->sanitize_p_obj_array($val); 221 continue; 222 } 223 224 if ($this->isXssAttempt($val)) { 225 $this->p->$c = ''; 226 } 227 } 228 } 229 202 230 function make_p_obj() { 203 231 $this->p = new stdClass(); 204 232 205 233 foreach ($_GET as $c => $val) { 206 if (is_array($val)) { 207 foreach ($val as $k => $v) { 208 if ($this->isXssAttempt($v)) { 209 $val[$k] = ''; 210 } 211 } 212 213 $this->p->$c = $val; 214 } else { 215 if ($this->isXssAttempt($val)) { 216 $val = ''; 217 } 218 219 $this->p->$c = trim(stripslashes($val)); 220 } 234 if (is_array($val)) { 235 $this->p->$c = $val; 236 } else { 237 $this->p->$c = trim(stripslashes($val)); 238 } 221 239 } 222 240 223 241 foreach ($_POST as $c => $val) { 224 if (is_array($val)) { 225 foreach ($val as $k => $v) { 226 if ($this->isXssAttempt($v)) { 227 $val[$k] = ''; 228 } 229 } 230 231 $this->p->$c = $val; 232 } else { 233 if ($this->isXssAttempt($val)) { 234 $val = ''; 235 } 236 237 $this->p->$c = trim(stripslashes($val)); 238 } 239 } 242 if (is_array($val)) { 243 $this->p->$c = $val; 244 } else { 245 $this->p->$c = trim(stripslashes($val)); 246 } 247 } 248 249 $this->sanitize_p_obj(); 240 250 } 241 251
Note: See TracChangeset
for help on using the changeset viewer.