Sociable - Version 3.4.3

Version Description

  • Fixed the bug mentioned here and here that made it impossible to disable Sociable on a per post/page basis (for real, now).
Download this release

Release Info

Developer joostdevalk
Plugin Icon wp plugin Sociable
Version 3.4.3
Comparing to
See all releases

Code changes from version 3.4.2 to 3.4.3

Files changed (2) hide show
  1. readme.txt +4 -1
  2. sociable.php +3 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://yoast.com/donate/
4
  Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
5
  Requires at least: 2.6
6
  Tested up to: 2.8.2
7
- Stable tag: 3.4.2
8
 
9
  Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
10
 
@@ -24,6 +24,9 @@ More info:
24
 
25
  == Changelog ==
26
 
 
 
 
27
  = 3.4.2 =
28
  * Added a site specific id to each links anchor tag.
29
  * Fixed the bug mentioned [here](http://wordpress.org/support/topic/288487) and [here](http://wordpress.org/support/topic/290753) that made it impossible to disable Sociable on a per post/page basis.
4
  Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
5
  Requires at least: 2.6
6
  Tested up to: 2.8.2
7
+ Stable tag: 3.4.3
8
 
9
  Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
10
 
24
 
25
  == Changelog ==
26
 
27
+ = 3.4.3 =
28
+ * Fixed the bug mentioned [here](http://wordpress.org/support/topic/288487) and [here](http://wordpress.org/support/topic/290753) that made it impossible to disable Sociable on a per post/page basis (for real, now).
29
+
30
  = 3.4.2 =
31
  * Added a site specific id to each links anchor tag.
32
  * Fixed the bug mentioned [here](http://wordpress.org/support/topic/288487) and [here](http://wordpress.org/support/topic/290753) that made it impossible to disable Sociable on a per post/page basis.
sociable.php CHANGED
@@ -569,7 +569,7 @@ function sociable_html($display=array()) {
569
  $sociable_known_sites = apply_filters('sociable_known_sites',$sociable_known_sites);
570
 
571
  $sociableoff = get_post_meta($post->ID,'sociableoff',true);
572
- if ($sociableoff === true || $sociableoff == "true") {
573
  return "";
574
  }
575
 
@@ -898,8 +898,8 @@ function sociable_meta() {
898
  * Add the checkbox defined above to post and page edit screens.
899
  */
900
  function sociable_meta_box() {
901
- add_meta_box('sociable','Sociable','sociable_meta','post');
902
- add_meta_box('sociable','Sociable','sociable_meta','page');
903
  }
904
  add_action('admin_menu', 'sociable_meta_box');
905
 
569
  $sociable_known_sites = apply_filters('sociable_known_sites',$sociable_known_sites);
570
 
571
  $sociableoff = get_post_meta($post->ID,'sociableoff',true);
572
+ if ($sociableoff == true || $sociableoff == "true") {
573
  return "";
574
  }
575
 
898
  * Add the checkbox defined above to post and page edit screens.
899
  */
900
  function sociable_meta_box() {
901
+ add_meta_box('sociable','Sociable','sociable_meta','post','side');
902
+ add_meta_box('sociable','Sociable','sociable_meta','page','side');
903
  }
904
  add_action('admin_menu', 'sociable_meta_box');
905