From 9de40f0c0532b8668fbd8aa786c92ff35cdf4d59 Mon Sep 17 00:00:00 2001 From: Darin Kotter Date: Tue, 13 Aug 2024 10:50:36 -0600 Subject: [PATCH] Update since statements --- includes/class-mailchimp-admin.php | 6 +++--- includes/class-mailchimp-data-encryption.php | 16 ++++++++-------- mailchimp.php | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/includes/class-mailchimp-admin.php b/includes/class-mailchimp-admin.php index 1a3ebc1..26a62c3 100644 --- a/includes/class-mailchimp-admin.php +++ b/includes/class-mailchimp-admin.php @@ -13,14 +13,14 @@ /** * Class Mailchimp_Admin * - * @since x.x.x + * @since 1.6.0 */ class Mailchimp_Admin { /** * The OAuth base endpoint * - * @since x.x.x + * @since 1.6.0 * @var string */ private $oauth_url = 'https://woocommerce.mailchimpapp.com'; @@ -193,7 +193,7 @@ public function verify_and_save_oauth_token( $access_token, $data_center ) { /** * Display admin notices. * - * @since x.x.x + * @since 1.6.0 */ public function admin_notices() { if ( ! current_user_can( 'manage_options' ) ) { diff --git a/includes/class-mailchimp-data-encryption.php b/includes/class-mailchimp-data-encryption.php index 3853bea..85fcb15 100644 --- a/includes/class-mailchimp-data-encryption.php +++ b/includes/class-mailchimp-data-encryption.php @@ -13,14 +13,14 @@ /** * Class Mailchimp_Data_Encryption * - * @since x.x.x + * @since 1.6.0 */ class Mailchimp_Data_Encryption { /** * Key to use for encryption. * - * @since x.x.x + * @since 1.6.0 * @var string */ private $key; @@ -28,7 +28,7 @@ class Mailchimp_Data_Encryption { /** * Salt to use for encryption. * - * @since x.x.x + * @since 1.6.0 * @var string */ private $salt; @@ -36,7 +36,7 @@ class Mailchimp_Data_Encryption { /** * Constructor. * - * @since x.x.x + * @since 1.6.0 */ public function __construct() { $this->key = $this->get_default_key(); @@ -48,7 +48,7 @@ public function __construct() { * * If a user-based key is set, that is used. Otherwise the default key is used. * - * @since x.x.x + * @since 1.6.0 * * @param string $value Value to encrypt. * @return string|bool Encrypted value, or false on failure. @@ -75,7 +75,7 @@ public function encrypt( $value ) { * * If a user-based key is set, that is used. Otherwise the default key is used. * - * @since x.x.x + * @since 1.6.0 * * @param string $raw_value Value to decrypt. * @return string|bool Decrypted value, or false on failure. @@ -108,7 +108,7 @@ public function decrypt( $raw_value ) { /** * Gets the default encryption key to use. * - * @since x.x.x + * @since 1.6.0 * * @return string Default (not user-based) encryption key. */ @@ -128,7 +128,7 @@ private function get_default_key() { /** * Gets the default encryption salt to use. * - * @since x.x.x + * @since 1.6.0 * * @return string Encryption salt. */ diff --git a/mailchimp.php b/mailchimp.php index 2b5daa2..8150397 100644 --- a/mailchimp.php +++ b/mailchimp.php @@ -1376,7 +1376,7 @@ function mailchimp_sf_create_nonce( $action = -1 ) { /** * Get Mailchimp Access Token. * - * @since x.x.x + * @since 1.6.0 * @return string|bool */ function mailchimp_sf_get_access_token() { @@ -1399,7 +1399,7 @@ function mailchimp_sf_get_access_token() { /** * Should display Mailchimp Signup form. * - * @since x.x.x + * @since 1.6.0 * @return bool */ function mailchimp_sf_should_display_form() {