Sociable - Version 2.9.9

Version Description

Download this release

Release Info

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

Code changes from version 2.9.8 to 2.9.9

Files changed (2) hide show
  1. readme.txt +3 -1
  2. sociable.php +3 -12
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.2
6
  Tested up to: 2.6.2
7
- stable tag: 2.9.8
8
 
9
  Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
10
 
@@ -19,6 +19,8 @@ More info:
19
 
20
  **Changelog**
21
 
 
 
22
  * 2.9.6 Added Symbaloo, Tumblr,
23
  * 2.9.5 Fixed Fark & Propeller links, added missing i18n strings, added Yahoo Buzz
24
  * 2.9.4 Removed PopCurrent and Rawsugar as they no longer exist, renamed BlueDot to Faves
4
  Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
5
  Requires at least: 2.2
6
  Tested up to: 2.6.2
7
+ stable tag: 2.9.9
8
 
9
  Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
10
 
19
 
20
  **Changelog**
21
 
22
+ * 2.9.9 Fixes for the custom fields issue.
23
+ * 2.9.8 Fixes for WP 2.7
24
  * 2.9.6 Added Symbaloo, Tumblr,
25
  * 2.9.5 Fixed Fark & Propeller links, added missing i18n strings, added Yahoo Buzz
26
  * 2.9.4 Removed PopCurrent and Rawsugar as they no longer exist, renamed BlueDot to Faves
sociable.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Sociable
4
  Plugin URI: http://yoast.com/wordpress/sociable/
5
  Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. Go to <a href="options-general.php?page=Sociable">Settings -> Sociable</a> for setup.
6
- Version: 2.9.8
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
@@ -956,17 +956,8 @@ function sociable_meta_box() {
956
  add_action('admin_menu', 'sociable_meta_box');
957
 
958
  function sociable_insert_post($pID) {
959
- if (isset($_POST['sociableoff'])) {
960
- if(get_post_meta($pID, 'sociableoff') == "")
961
- add_post_meta($pID, 'sociableoff', "true", true);
962
- else
963
- update_post_meta($pID, 'sociableoff', "true", true);
964
- } else {
965
- if(get_post_meta($pID, 'sociableoff') == "")
966
- add_post_meta($pID, 'sociableoff', "false", true);
967
- else
968
- update_post_meta($pID, 'sociableoff', "false", true);
969
- }
970
  }
971
  add_action('wp_insert_post', 'sociable_insert_post');
972
 
3
  Plugin Name: Sociable
4
  Plugin URI: http://yoast.com/wordpress/sociable/
5
  Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. Go to <a href="options-general.php?page=Sociable">Settings -> Sociable</a> for setup.
6
+ Version: 2.9.9
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
956
  add_action('admin_menu', 'sociable_meta_box');
957
 
958
  function sociable_insert_post($pID) {
959
+ delete_post_meta($pID, 'sociableoff');
960
+ update_post_meta($pID, 'sociableoff', ($_POST['sociableoff'] ? 'true' : 'false'));
 
 
 
 
 
 
 
 
 
961
  }
962
  add_action('wp_insert_post', 'sociable_insert_post');
963