Sociable - Version 2.6.9

Version Description

Download this release

Release Info

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

Code changes from version 2.6.8 to 2.6.9

Files changed (2) hide show
  1. readme.txt +1 -1
  2. sociable.php +12 -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.2
6
  Tested up to: 2.5.1
7
- stable tag: 2.6.8
8
 
9
  Automatically add links on your posts to popular social bookmarking sites.
10
 
4
  Tags: social, bookmark, bookmarks, bookmarking, social bookmarking, social bookmarks
5
  Requires at least: 2.2
6
  Tested up to: 2.5.1
7
+ stable tag: 2.6.9
8
 
9
  Automatically add links on your posts to popular social bookmarking sites.
10
 
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 to popular <a href="http://www.maxpower.ca/bookmarking">social bookmarking sites</a>. Go to Options -> Sociable for setup.
6
- Version: 2.6.8
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
@@ -25,8 +25,17 @@ along with this program; if not, write to the Free Software
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
 
 
 
 
 
 
 
 
 
28
  function sociable_init_locale(){
29
- load_plugin_textdomain('sociable', 'wp-content/plugins/sociable/i18n');
30
  }
31
  add_filter('init', 'sociable_init_locale');
32
 
@@ -137,7 +146,7 @@ $sociable_known_sites = Array(
137
  'Digg' => Array(
138
  'favicon' => 'digg.png',
139
  'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE',
140
- 'description' => 'bodytext',
141
  ),
142
 
143
  'DotNetKicks' => Array(
3
  Plugin Name: Sociable
4
  Plugin URI: http://yoast.com/wordpress/sociable/
5
  Description: Automatically add links on your posts to popular <a href="http://www.maxpower.ca/bookmarking">social bookmarking sites</a>. Go to Options -> Sociable for setup.
6
+ Version: 2.6.9
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
25
  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26
  */
27
 
28
+ // Pre-2.6 compatibility
29
+ if ( !defined('WP_CONTENT_URL') )
30
+ define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content');
31
+ if ( !defined('WP_CONTENT_DIR') )
32
+ define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' );
33
+
34
+ // Guess the location
35
+ $sociablepluginpath = WP_CONTENT_DIR.'/plugins/'.plugin_basename(dirname(__FILE__)).'/';
36
+
37
  function sociable_init_locale(){
38
+ load_plugin_textdomain('sociable', $sociablepluginpath);
39
  }
40
  add_filter('init', 'sociable_init_locale');
41
 
146
  'Digg' => Array(
147
  'favicon' => 'digg.png',
148
  'url' => 'http://digg.com/submit?phase=2&amp;url=PERMALINK&amp;title=TITLE',
149
+ 'description' => 'Digg',
150
  ),
151
 
152
  'DotNetKicks' => Array(