Social Media Feather | social media sharing - Version 2.1.2

Version Description

  • Test with WordPress 6.0.2
  • Fix warning.
Download this release

Release Info

Developer socialmediafeather
Plugin Icon 128x128 Social Media Feather | social media sharing
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Social Media Feather | social media sharing ===
2
  Contributors: socialmediafeather, scottstorebloom, scottmweaver
3
  Tags: social media, social sharing, social buttons, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar, sharing buttons, follow buttons
4
- Requires at least: 3.1
5
- Tested up to: 5.9.1
6
- Stable tag: 2.1.1
7
  Version: 2.1.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -190,6 +190,10 @@ margin-left: 10px;
190
 
191
  == Changelog ==
192
 
 
 
 
 
193
  = 2.1.1 =
194
  * Fix bug with follow
195
 
1
  === Social Media Feather | social media sharing ===
2
  Contributors: socialmediafeather, scottstorebloom, scottmweaver
3
  Tags: social media, social sharing, social buttons, Facebook, Share, Like, twitter, google, Reddit, youtube, instagram, pinterest, social media buttons, button, shortcode, sidebar, sharing buttons, follow buttons
4
+ Requires at least: 5.9
5
+ Tested up to: 6.0.2
6
+ Stable tag: 2.1.2
7
  Version: 2.1.1
8
  License: GPLv2
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
190
 
191
  == Changelog ==
192
 
193
+ = 2.1.2 =
194
+ * Test with WordPress 6.0.2
195
+ * Fix warning.
196
+
197
  = 2.1.1 =
198
  * Fix bug with follow
199
 
synved-social/synved-social-setup.php CHANGED
@@ -928,7 +928,8 @@ function synved_social_wp_the_content( $content, $id = null ) {
928
 
929
  $synved_social_settings = get_option( 'synved_social_settings' );
930
 
931
- $automatic_follow = boolval( $synved_social_settings['automatic_follow'] );
 
932
 
933
  if ( false === $exclude_follow && false !== $automatic_follow ) {
934
  $post_type = get_post_type();
928
 
929
  $synved_social_settings = get_option( 'synved_social_settings' );
930
 
931
+ $automatic_follow = true === isset( $synved_social_settings['automatic_follow'] )
932
+ && boolval( $synved_social_settings['automatic_follow'] );
933
 
934
  if ( false === $exclude_follow && false !== $automatic_follow ) {
935
  $post_type = get_post_type();