WordPress Share Buttons Plugin – AddThis - Version 6.2.3

Version Description

  • Removed notices regarding AMP
Download this release

Release Info

Developer addthisjhilts
Plugin Icon 128x128 WordPress Share Buttons Plugin – AddThis
Version 6.2.3
Comparing to
See all releases

Code changes from version 6.2.2 to 6.2.3

addthis_social_widget.php CHANGED
@@ -28,7 +28,7 @@
28
  * Plugin Name: Share Buttons by AddThis
29
  * Plugin URI: https://wordpress.org/plugins/addthis/
30
  * Text Domain: addthis-backend
31
- * Version: 6.2.2
32
  * Description: Set up sharing tools from AddThis right in WordPress. With AddThis you can see how your users are engaging with your content, provide a personalized experience for each user and encourage them to share your content in their social networks. Follow tools, recommended content, conversion tools and social analytics available to registered accounts at addthis.com.
33
  */
34
 
28
  * Plugin Name: Share Buttons by AddThis
29
  * Plugin URI: https://wordpress.org/plugins/addthis/
30
  * Text Domain: addthis-backend
31
+ * Version: 6.2.3
32
  * Description: Set up sharing tools from AddThis right in WordPress. With AddThis you can see how your users are engaging with your content, provide a personalized experience for each user and encourage them to share your content in their social networks. Follow tools, recommended content, conversion tools and social analytics available to registered accounts at addthis.com.
33
  */
34
 
backend/AddThisAmp.php CHANGED
@@ -12,8 +12,9 @@ if (!class_exists('AddThisAmp')) {
12
  const ADMIN_NOTICE_ENABLED_KEY = 'admin_amp_notice_enabled';
13
  const ADMIN_NOTICE_ENABLED_MESSAGE = 'AddThis Plugin is enabled on your site including Accelerated Mobile Pages (AMP)';
14
 
15
- // Key based on compatibility version, so it can be re-enabled in the future
16
- const ADMIN_NOTICE_INCOMPAT_KEY = 'admin_amp_notice_incompat_1.1';
 
17
  const ADMIN_NOTICE_INCOMPAT_MESSAGE = 'AddThis Plugin is incompatible with the current version of the AMP plugin (using {cur}, requires {req} or higher). AMP functionality will not be available.';
18
  const ADMIN_NOTICE_INCOMPAT_LINK = '<a href="https://wordpress.org/plugins/amp/" target="_blank">Update to latest Official AMP Plugin for WordPress</a>';
19
 
@@ -144,6 +145,7 @@ if (!class_exists('AddThisAmp')) {
144
  * @return null
145
  */
146
  public static function initAdmin() {
 
147
  if (AddThisAdminUtilities::isAdminInterface() && AddThisAdminUtilities::userHasCapabilities()) {
148
  if (self::isAmpPluginEnabled()) {
149
  // AMP is enabled, messaging dependent upon anonymous mode and compatibility
@@ -160,6 +162,7 @@ if (!class_exists('AddThisAmp')) {
160
  AddThisAdminUtilities::enqueueNotice(AddThisAmp::ADMIN_NOTICE_NOAMP_KEY, array(__CLASS__, 'adminNoticeNoAmpCallback'));
161
  }
162
  }
 
163
  }
164
 
165
  /**
12
  const ADMIN_NOTICE_ENABLED_KEY = 'admin_amp_notice_enabled';
13
  const ADMIN_NOTICE_ENABLED_MESSAGE = 'AddThis Plugin is enabled on your site including Accelerated Mobile Pages (AMP)';
14
 
15
+ // Key based on compatibility version, so it can be re-enabled in the future. Do not use a
16
+ // period in the key or it will not save.
17
+ const ADMIN_NOTICE_INCOMPAT_KEY = 'admin_amp_notice_incompat_1-1';
18
  const ADMIN_NOTICE_INCOMPAT_MESSAGE = 'AddThis Plugin is incompatible with the current version of the AMP plugin (using {cur}, requires {req} or higher). AMP functionality will not be available.';
19
  const ADMIN_NOTICE_INCOMPAT_LINK = '<a href="https://wordpress.org/plugins/amp/" target="_blank">Update to latest Official AMP Plugin for WordPress</a>';
20
 
145
  * @return null
146
  */
147
  public static function initAdmin() {
148
+ /* Disable messaging for now
149
  if (AddThisAdminUtilities::isAdminInterface() && AddThisAdminUtilities::userHasCapabilities()) {
150
  if (self::isAmpPluginEnabled()) {
151
  // AMP is enabled, messaging dependent upon anonymous mode and compatibility
162
  AddThisAdminUtilities::enqueueNotice(AddThisAmp::ADMIN_NOTICE_NOAMP_KEY, array(__CLASS__, 'adminNoticeNoAmpCallback'));
163
  }
164
  }
165
+ */
166
  }
167
 
168
  /**
backend/AddThisFollowButtonsPlugin.php CHANGED
@@ -34,7 +34,7 @@ if (!class_exists('AddThisFollowButtonsPlugin')) {
34
  */
35
  class AddThisFollowButtonsPlugin extends AddThisPlugin
36
  {
37
- protected $version = '4.2.2';
38
  protected $name = 'Follow Buttons by AddThis';
39
  protected $productPrefix = 'wpf';
40
  protected $pluginSlug = 'addthis-follow';
34
  */
35
  class AddThisFollowButtonsPlugin extends AddThisPlugin
36
  {
37
+ protected $version = '4.2.3';
38
  protected $name = 'Follow Buttons by AddThis';
39
  protected $productPrefix = 'wpf';
40
  protected $pluginSlug = 'addthis-follow';
backend/AddThisMinimumPlugin.php CHANGED
@@ -35,7 +35,7 @@ if (!class_exists('AddThisMinimumPlugin')) {
35
  */
36
  class AddThisMinimumPlugin extends AddThisPlugin
37
  {
38
- protected $version = '3.2.2';
39
  protected $name = 'Website Tools by AddThis';
40
  protected $productPrefix = 'wpwt';
41
  protected $pluginSlug = 'addthis-all';
35
  */
36
  class AddThisMinimumPlugin extends AddThisPlugin
37
  {
38
+ protected $version = '3.2.3';
39
  protected $name = 'Website Tools by AddThis';
40
  protected $productPrefix = 'wpwt';
41
  protected $pluginSlug = 'addthis-all';
backend/AddThisRecommendedContentPlugin.php CHANGED
@@ -34,7 +34,7 @@ if (!class_exists('AddThisRecommendedContentPlugin')) {
34
  */
35
  class AddThisRecommendedContentPlugin extends AddThisPlugin
36
  {
37
- protected $version = '2.2.2';
38
  protected $name = 'Related Posts by AddThis';
39
  protected $productPrefix = 'wprp';
40
  protected $pluginSlug = 'addthis-related-posts';
34
  */
35
  class AddThisRecommendedContentPlugin extends AddThisPlugin
36
  {
37
+ protected $version = '2.2.3';
38
  protected $name = 'Related Posts by AddThis';
39
  protected $productPrefix = 'wprp';
40
  protected $pluginSlug = 'addthis-related-posts';
backend/AddThisSharingButtonsPlugin.php CHANGED
@@ -34,7 +34,7 @@ if (!class_exists('AddThisSharingButtonsPlugin')) {
34
  */
35
  class AddThisSharingButtonsPlugin extends AddThisPlugin
36
  {
37
- protected $version = '6.2.2';
38
  protected $name = 'Share Buttons by AddThis';
39
  protected $productPrefix = 'wpp';
40
  protected $pluginSlug = 'addthis';
34
  */
35
  class AddThisSharingButtonsPlugin extends AddThisPlugin
36
  {
37
+ protected $version = '6.2.3';
38
  protected $name = 'Share Buttons by AddThis';
39
  protected $productPrefix = 'wpp';
40
  protected $pluginSlug = 'addthis';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: abramsm, jgrodel, bradaddthis.com, addthis_paul, addthis_matt, rib
3
  Tags: share buttons, social sharing, social share, social, social marketing, social tools, WhatsApp, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.1.1
6
- Stable tag: 6.2.2
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -171,6 +171,9 @@ See our <a href="https://plugins.svn.wordpress.org/addthis-all/trunk/documentati
171
 
172
  == Changelog ==
173
 
 
 
 
174
  = 6.2.2 =
175
  * Added compatibility detection with official AMP plugin
176
 
3
  Tags: share buttons, social sharing, social share, social, social marketing, social tools, WhatsApp, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.1.1
6
+ Stable tag: 6.2.3
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
171
 
172
  == Changelog ==
173
 
174
+ = 6.2.3 =
175
+ * Removed notices regarding AMP
176
+
177
  = 6.2.2 =
178
  * Added compatibility detection with official AMP plugin
179