Skip to content

Commit

Permalink
Updating the changelog.
Browse files Browse the repository at this point in the history
  • Loading branch information
krugazul committed Sep 12, 2022
1 parent 6130442 commit 62d8935
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion classes/frontend/class-output.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 .= '<span class="lsx-sharing-button lsx-sharing-button-' . esc_attr($button) . '"><a href="#lsx-sharing-email" data-toggle="modal" data-link="' . esc_url($url) . '" ' . $atts . '><span class="fa" aria-hidden="true"></span></a></span>';
Expand Down
2 changes: 1 addition & 1 deletion lsx-sharing.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 62d8935

Please sign in to comment.