=== Ultimate Member - User Reviews ===
Author URI: https://ultimatemember.com
Plugin URI: https://ultimatemember.com/extensions/user-reviews/
Contributors: nsinelnikov
Tags: user rating, user-profile, user-registration
Requires at least: 5.0
Tested up to: 6.3
Stable tag: 2.2.3
License: GNU Version 2 or Any Later Version
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Requires UM core at least: 2.6.3

With our user reviews extension, you can add a 5 star user rating and review system to your site so users can rate/review each other.

== Description ==

With our user reviews extension, you can add a 5 star user rating and review system to your site so users can rate/review each other.

= Key features: =

* Users can leave between a 1 and 5 star rating
* User can enter a review title and review comment
* Sort your members directory by highest rated users first
* Add a filter to member directory so users can search for other users with a 1, 2, 3, 4 or 5 star rating
* Comes with 3 sidebar widgets and shortcodes to show top rated users, most rated users and lowest rated users
* Show a user’s star rating on member directory and profile header
* Adds a reviews tab to each user profile
* Allow specific user roles to leave reviews
* Allow specific user roles to automatically publish reviews or have reviews pending approval by admin
* Allow specific user roles to remove their own reviews, or other reviews
* Complete management of user reviews from front-end and back-end
* Allow admin to edit any review from the WP backend
* Allow users to report/flag certain reviews
* Block specific users from leaving reviews
* Sends an email to a user when someone leaves a review of them

Read about all of the plugin's features at [Ultimate Member - User Reviews](https://ultimatemember.com/extensions/user-reviews/)

= Documentation & Support =

Got a problem or need help with Ultimate Member? Head over to our [documentation](http://docs.ultimatemember.com/article/78-user-reviews-setup) and perform a search of the knowledge base. If you can’t find a solution to your issue then you can create a topic on the [support forum](https://wordpress.org/support/plugin/ultimate-member).

== Installation ==

1. Activate the plugin
2. That's it. Go to Ultimate Member > Settings > Extensions > Reviews to customize plugin options
3. For more details, please visit the official [Documentation](http://docs.ultimatemember.com/article/78-user-reviews-setup) page.

== Changelog ==

= 2.2.3: August 30, 2023 =

* Fixed: PHP warnings
* Fixed: Removed `extract()` function to increase security
* Tweak: Changed input_filter to WordPress native sanitize
* Tweak: Template overwrite versioning
* Tweak: User dropdown field added

= 2.2.2: February 9, 2022 =

* Added: Sanitizing fields of the review
* Fixed: "None reviews" text
* Fixed: Extension settings structure

= 2.2.1: December 20, 2021 =

* Added: Counters for pending/flagged reviews in the admin dashboard
* Added: Arabic translation. Thanks to Nabil Moqbel (Slack: nabilmoqbel)
* Added: Email notification for an admin after reporting reviews
* Tweak: Removed redundant admin CSS that inited in UM core already
* Fixed: Metabox fields displaying wp-admin Dashboard > Add/Edit User Review screen. Changed handlers for user avatars.
* Fixed: Send an email only after approved (if a user role can't auto-publish review)
* Fixed: Removed link to pending review on front-end in email notifications
* Fixed: RTL styles

= 2.2.0: July 20, 2021 =

* Fixed: Reply content formatting
* Tweak: jQuery v3 compatibility
* Tweak: WP5.8 widgets screen compatibility

= 2.1.9: December 10, 2020 =

* Tweak: WordPress 5.6 compatibility (fixed issue with deprecated .load() function in JS)

= 2.1.8: August 24, 2020 =

* Fixed: Recalculate rating on the tab 'Reviews'

= 2.1.7: March 2, 2020 =

* Changed: Email template 'review_pending_notice', added placeholder {review_admin_link}
* Optimized: UM:Real-Time Notifications integration
* Fixed: Setting status for review on add

= 2.1.6: January 13, 2020 =

* Tweak: Integration with Ultimate Member 2.1.3 and UM metadata table
* Added: Sortable columns to reviews list table
* Added: Bulk Actions to reviews list table
* Changed: Quick edit tool in reviews list table
* Changed: Account notifications layout
* Fixed: Admin User Reviews subtabs' links
* Fixed: CSS for Avatars

= 2.1.5: November 11, 2019 =

* Added: Reply feature to user reviews with option to enable
* Added: Sanitize functions for request variables
* Added: esc_attr functions to avoid XSS vulnerabilities
* Fixed: Update user rating on trash review
* Fixed: Update users rating on reviewer delete

= 2.1.4: August 6, 2019 =

* Added: Escape functions
* Fixed: Recalculate avg raring and reviews on edit, delete, add
* Fixed: Template for User Profile
* Fixed: Reviews List template

= 2.1.3: July 19, 2019 =

* Fixed: Reviews List template

= 2.1.2: July 16, 2019 =

* Added: option 'review_date_format' - Review date format
* Added: template member-rating.php
* Added: template review-detail.php
* Added: template review-front-actions.php
* Added: template reviews-widget.php
* Fixed: Profile tabs
* Fixed: Uninstall process
* Deprecated: Dependencies for Member Directory search with Profile tab visibility options
* Optimization: use method UM()->get_template() to load templates

Version 2.1.1

* Fixed: Multi editing review
* Fixed: Add title limit

Version 2.1.0

* Fixed: JS/CSS enqueue
* Fixed: Flag review by un-logged user

Version 2.0.9

* Fixed: Top Rated order
* Fixed: New translation files
* Optimization: JS/CSS enqueue

Version 2.0.8

* Fixed: New translation files

Version 2.0.7

* Fixed: Widgets members queries and count

Version 2.0.6

* Added: GDPR compatibility on users delete

Version 2.0.5

* Added: Loading translation from "wp-content/languages/plugins/" directory

Version 2.0.4

* Fixed: issue with search on Members Directory

Version 2.0.3

* Fixed: code refactoring and reviews counter
* Fixed: display of stars in Member Directories
* Fixed: when creating the review, two Ajax requests were sent in Firefox
* Tweak: UM2.0 compatibility

Version 1.2.2

* Tweak: Update EDD_SL_Plugin_Updater.php
* Tweak: Allow templates to be customized via theme folder like our core

Version 1.2.1

* Tweak: show message to guests when trying to review a user
* Fixed: show manage reviews pagination

Version 1.2.0

* Fixed: Trashed reviews are now resolved

Version 1.1.9

* Fixed: character limit issue in title and content

Version 1.1.8

* Fixed: issue with accessing screen in admin

Version 1.1.7

* Fixed: pagination for user reviews in backend

Version 1.1.6

* Fixed: compatibility with WordPress 4.3

Version 1.1.5

* Fixed: User rating should not appear if user have reviews turned off

Version 1.1.4

* Fixed: profile link bug in rating widgets

Version 1.1.3

* New: live notifications extension support

Version 1.1.2

* Fixed: bug with edit permissions

Version 1.1.1

* Fixed: javascript bug in backend

Version 1.1.0

* New: added a widget option to display specific user role (Top rated, most rated, etc)
