Merge pull request #977 from IanDelMar/patch-7

Fix for #976
This commit is contained in:
Thomas A. Reinert 2019-06-07 01:06:49 +02:00 committed by GitHub
commit 369a06d182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ if ( ! function_exists( 'understrap_wc_form_field_args' ) ) {
}
}
if ( ! function_exists( 'wc_review_ratings_enabled' ) ) {
if ( ! is_admin() && ! function_exists( 'wc_review_ratings_enabled' ) ) {
/**
* Check if reviews are enabled.
*