From 9d8dd197b5b914a8a236a185dfd509f6a770a3d1 Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Thu, 23 Jan 2020 16:46:01 -0300 Subject: [PATCH] Added @version flag in updated notice functions --- includes/wc-notice-functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/wc-notice-functions.php b/includes/wc-notice-functions.php index bc553aafabd..5d4b69f3eb6 100644 --- a/includes/wc-notice-functions.php +++ b/includes/wc-notice-functions.php @@ -66,6 +66,7 @@ function wc_has_notice( $message, $notice_type = 'success' ) { * Add and store a notice. * * @since 2.1 + * @version 3.9.0 * @param string $message The text to display in the notice. * @param string $notice_type Optional. The name of the notice type - either error, success or notice. * @param array $data Optional notice data. @@ -171,6 +172,7 @@ function wc_print_notices( $return = false ) { * Print a single notice immediately. * * @since 2.1 + * @version 3.9.0 * @param string $message The text to display in the notice. * @param string $notice_type Optional. The singular name of the notice type - either error, success or notice. * @param array $data Optional notice data. @since 3.9.0. @@ -200,6 +202,7 @@ function wc_print_notice( $message, $notice_type = 'success', $data = array() ) * Returns all queued notices, optionally filtered by a notice type. * * @since 2.1 + * @version 3.9.0 * @param string $notice_type Optional. The singular name of the notice type - either error, success or notice. * @return array[] */