Version Description
- Fix customizer preview check for WordPress versions older than 4.0 (thanks Jessica)
Download this release
Release Info
Developer | micropat |
Plugin | AddToAny Share Buttons |
Version | 1.6.16 |
Comparing to | |
See all releases |
Code changes from version 1.6.15 to 1.6.16
- README.txt +6 -3
- add-to-any.php +1 -1
- addtoany.widgets.php +4 -2
README.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== AddToAny Share Buttons ===
|
2 |
Contributors: micropat, addtoany
|
3 |
Tags: AddToAny, sharing, share, social, share button, share buttons, share links, social icons, social media, media, marketing, bookmark, bookmarks, save, post, posts, page, pages, images, image, admin, analytics, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, amp, woocommerce, ecommerce, e-commerce, amazon, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, google plus, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, whatsapp, instagram, behance, flickr, foursquare, vimeo, youtube, feed, rss, addthis, sociable, share this, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpml, wpmu, Add to Any
|
4 |
-
Requires at least:
|
5 |
Tested up to: 4.5
|
6 |
-
Stable tag: 1.6.
|
7 |
|
8 |
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
|
9 |
|
@@ -69,7 +69,7 @@ AddToAny is the universal sharing platform, and AddToAny's plugin is the most po
|
|
69 |
|
70 |
This plugin always strives to be the best WordPress plugin for sharing. Development is fueled by your praise and feedback.
|
71 |
|
72 |
-
<a href="https://www.addtoany.com/share" title="Share">Share</a> this plugin
|
73 |
|
74 |
See also:
|
75 |
|
@@ -300,6 +300,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
|
|
300 |
|
301 |
== Changelog ==
|
302 |
|
|
|
|
|
|
|
303 |
= 1.6.15 =
|
304 |
* AddToAny widgets support new selective refresh in the WordPress 4.5 Customizer
|
305 |
* AddToAny share endpoints default to HTTPS on HTTPS sites
|
1 |
=== AddToAny Share Buttons ===
|
2 |
Contributors: micropat, addtoany
|
3 |
Tags: AddToAny, sharing, share, social, share button, share buttons, share links, social icons, social media, media, marketing, bookmark, bookmarks, save, post, posts, page, pages, images, image, admin, analytics, statistics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, e-mail, print, seo, button, amp, woocommerce, ecommerce, e-commerce, amazon, delicious, google, tumblr, linkedin, digg, reddit, facebook, facebook share, facebook like, like, twitter, twitter button, twitter share, tweet, tweet button, google plus, pinterest, pin, pin it, pinit, wanelo, buffer, stumbleupon, bitly, whatsapp, instagram, behance, flickr, foursquare, vimeo, youtube, feed, rss, addthis, sociable, share this, sharethis, shareaholic, icon, icons, vector, SVG, floating, floating buttons, wpml, wpmu, Add to Any
|
4 |
+
Requires at least: 3.7
|
5 |
Tested up to: 4.5
|
6 |
+
Stable tag: 1.6.16
|
7 |
|
8 |
Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too.
|
9 |
|
69 |
|
70 |
This plugin always strives to be the best WordPress plugin for sharing. Development is fueled by your praise and feedback.
|
71 |
|
72 |
+
<a href="https://www.addtoany.com/share#url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fadd-to-any%2F&title=AddToAny%20Sharing%20Plugin%20for%20WordPress" title="Share">Share</a> this plugin
|
73 |
|
74 |
See also:
|
75 |
|
300 |
|
301 |
== Changelog ==
|
302 |
|
303 |
+
= 1.6.16 =
|
304 |
+
* Fix customizer preview check for WordPress versions older than 4.0 (thanks Jessica)
|
305 |
+
|
306 |
= 1.6.15 =
|
307 |
* AddToAny widgets support new selective refresh in the WordPress 4.5 Customizer
|
308 |
* AddToAny share endpoints default to HTTPS on HTTPS sites
|
add-to-any.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: AddToAny Share Buttons
|
4 |
Plugin URI: https://www.addtoany.com/
|
5 |
Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. [<a href="options-general.php?page=addtoany">Settings</a>]
|
6 |
-
Version: 1.6.
|
7 |
Author: AddToAny
|
8 |
Author URI: https://www.addtoany.com/
|
9 |
Text Domain: add-to-any
|
3 |
Plugin Name: AddToAny Share Buttons
|
4 |
Plugin URI: https://www.addtoany.com/
|
5 |
Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. [<a href="options-general.php?page=addtoany">Settings</a>]
|
6 |
+
Version: 1.6.16
|
7 |
Author: AddToAny
|
8 |
Author URI: https://www.addtoany.com/
|
9 |
Text Domain: add-to-any
|
addtoany.widgets.php
CHANGED
@@ -20,7 +20,8 @@ class A2A_SHARE_SAVE_Widget extends WP_Widget {
|
|
20 |
parent::__construct( '', 'AddToAny Share', $widget_ops );
|
21 |
|
22 |
// Enqueue script if widget is active (appears in a sidebar) or if in Customizer preview.
|
23 |
-
|
|
|
24 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
25 |
}
|
26 |
}
|
@@ -111,7 +112,8 @@ class A2A_Follow_Widget extends WP_Widget {
|
|
111 |
parent::__construct( '', 'AddToAny Follow', $widget_ops );
|
112 |
|
113 |
// Enqueue script if widget is active (appears in a sidebar) or if in Customizer preview.
|
114 |
-
|
|
|
115 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
116 |
}
|
117 |
}
|
20 |
parent::__construct( '', 'AddToAny Share', $widget_ops );
|
21 |
|
22 |
// Enqueue script if widget is active (appears in a sidebar) or if in Customizer preview.
|
23 |
+
// is_customize_preview() @since 4.0.0
|
24 |
+
if ( is_active_widget( false, false, $this->id_base ) || ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) ) {
|
25 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
26 |
}
|
27 |
}
|
112 |
parent::__construct( '', 'AddToAny Follow', $widget_ops );
|
113 |
|
114 |
// Enqueue script if widget is active (appears in a sidebar) or if in Customizer preview.
|
115 |
+
// is_customize_preview() @since 4.0.0
|
116 |
+
if ( is_active_widget( false, false, $this->id_base ) || ( function_exists( 'is_customize_preview' ) && is_customize_preview() ) ) {
|
117 |
add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
|
118 |
}
|
119 |
}
|