From 037daa427792f8b3b684b027b68941da094872d3 Mon Sep 17 00:00:00 2001 From: Champ Camba Date: Mon, 12 Oct 2020 17:54:22 +0800 Subject: [PATCH] Add ratings required notice and warning --- includes/core/class-fields.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/includes/core/class-fields.php b/includes/core/class-fields.php index 9920e7fb..ae5dd231 100644 --- a/includes/core/class-fields.php +++ b/includes/core/class-fields.php @@ -2584,6 +2584,12 @@ if ( ! class_exists( 'um\core\Fields' ) ) { $output .= '
'; $output .= ''; + + if ( $this->is_error( $key ) ) { + $output .= $this->field_error( $this->show_error( $key ) ); + }else if ( $this->is_notice( $key ) ) { + $output .= $this->field_notice( $this->show_notice( $key ) ); + } $output .= '';