AddToAny Share Buttons - Version 1.7.37

Version Description

  • Harden option to toggle standard sharing placement on pages and the "page" post type
Download this release

Release Info

Developer micropat
Plugin Icon 128x128 AddToAny Share Buttons
Version 1.7.37
Comparing to
See all releases

Code changes from version 1.7.36 to 1.7.37

Files changed (2) hide show
  1. README.txt +4 -1
  2. add-to-any.php +2 -2
README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: buttons, share, icons, social media, share buttons, sharing, share button,
4
  Requires at least: 3.7
5
  Tested up to: 5.2
6
  Requires PHP: 5.2
7
- Stable tag: 1.7.36
8
 
9
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, WhatsApp, Pinterest, Reddit, many more, and follow icons too.
10
 
@@ -346,6 +346,9 @@ Upload (or move) the `add-to-any` plugin directory into the `/wp-content/mu-plug
346
 
347
  == Changelog ==
348
 
 
 
 
349
  = 1.7.36 =
350
  * Apply the "Show sharing buttons" option to the floating vertical bar when Placement is set to "Attach to content"
351
 
4
  Requires at least: 3.7
5
  Tested up to: 5.2
6
  Requires PHP: 5.2
7
+ Stable tag: 1.7.37
8
 
9
  Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, WhatsApp, Pinterest, Reddit, many more, and follow icons too.
10
 
346
 
347
  == Changelog ==
348
 
349
+ = 1.7.37 =
350
+ * Harden option to toggle standard sharing placement on pages and the "page" post type
351
+
352
  = 1.7.36 =
353
  * Apply the "Show sharing buttons" option to the floating vertical bar when Placement is set to "Attach to content"
354
 
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.
6
- Version: 1.7.36
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
@@ -928,7 +928,7 @@ function A2A_SHARE_SAVE_add_to_content( $content ) {
928
 
929
  // Pages
930
  // Individual pages
931
- ( is_page() && isset( $options['display_in_pages'] ) && $options['display_in_pages'] == '-1' ) ||
932
  // Attachment (media) pages
933
  ( is_attachment() && isset( $options['display_in_attachments'] ) && $options['display_in_attachments'] == '-1' ) ||
934
  // <!--nosharesave--> legacy tag
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.
6
+ Version: 1.7.37
7
  Author: AddToAny
8
  Author URI: https://www.addtoany.com/
9
  Text Domain: add-to-any
928
 
929
  // Pages
930
  // Individual pages
931
+ ( is_singular('page') && isset( $options['display_in_pages'] ) && $options['display_in_pages'] == '-1' ) ||
932
  // Attachment (media) pages
933
  ( is_attachment() && isset( $options['display_in_attachments'] ) && $options['display_in_attachments'] == '-1' ) ||
934
  // <!--nosharesave--> legacy tag