From 62d8935b93a813d444f7a98948d0f7b78418249f Mon Sep 17 00:00:00 2001 From: Warwick Date: Mon, 12 Sep 2022 10:42:24 +0200 Subject: [PATCH] Updating the changelog. --- changelog.md | 4 ++-- classes/frontend/class-output.php | 2 +- lsx-sharing.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 0290feb..9c3dcb2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,9 @@ # Changelog -## [[1.2.3]](https://github.com/lightspeeddevelopment/lsx-sharing/releases/tag/1.2.3) - In development +## [[1.2.3]](https://github.com/lightspeeddevelopment/lsx-sharing/releases/tag/1.2.3) - 2022-09-12 ### Added -- Added support for sharing to whatsapp. +- Added support for sharing to Whatsapp. ## [[1.2.2]](https://github.com/lightspeeddevelopment/lsx-sharing/releases/tag/1.2.2) - 2022-05-26 diff --git a/classes/frontend/class-output.php b/classes/frontend/class-output.php index d5f0225..a5cb00f 100644 --- a/classes/frontend/class-output.php +++ b/classes/frontend/class-output.php @@ -137,7 +137,7 @@ public function sharing_buttons( $buttons = array( 'facebook', 'twitter', 'pinte if ( ! empty($url) ) { if ( 'email' === $button ) { - if ( ! isset($this->options['display']) || empty($this->options['display']['sharing_email_form_id']) ) { + if ( ! isset($this->options['global_email_form_id']) || empty($this->options['global_email_form_id']) ) { continue; } $sharing_content .= ''; diff --git a/lsx-sharing.php b/lsx-sharing.php index 1770d7d..3972e3e 100644 --- a/lsx-sharing.php +++ b/lsx-sharing.php @@ -20,7 +20,7 @@ define('LSX_SHARING_PATH', plugin_dir_path(__FILE__)); define('LSX_SHARING_CORE', __FILE__); define('LSX_SHARING_URL', plugin_dir_url(__FILE__)); -define('LSX_SHARING_VER', '1.2.1'); +define('LSX_SHARING_VER', '1.2.3'); /* ======================= Below is the Plugin Class init ========================= */ require_once LSX_SHARING_PATH . '/classes/class-sharing.php';