Sociable - Version 3.2.1

Version Description

Download this release

Release Info

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

Code changes from version 3.2 to 3.2.1

Files changed (2) hide show
  1. readme.txt +2 -1
  2. sociable.php +5 -10
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: joostdevalk
3
  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.7.1
7
  Stable tag: 3.2
8
 
9
  Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. WordPress 2.6 or above required!
@@ -19,6 +19,7 @@ More info:
19
 
20
  **Changelog**
21
 
 
22
  * 3.2
23
  This is a MAJOR update to Sociable. It fixes a few bugs, cleans up (or out, actually) a lot of sites that have gone away, updates others to include the excerpt, adds a fantastic new printing and PDF button, an RSS button, and a bunch of new sites.
24
 
3
  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
7
  Stable tag: 3.2
8
 
9
  Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites. WordPress 2.6 or above required!
19
 
20
  **Changelog**
21
 
22
+ * 3.2.1 Fixed a bug with printing styles in 2.8 beta
23
  * 3.2
24
  This is a MAJOR update to Sociable. It fixes a few bugs, cleans up (or out, actually) a lot of sites that have gone away, updates others to include the excerpt, adds a fantastic new printing and PDF button, an RSS button, and a bunch of new sites.
25
 
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.
6
- Version: 3.2
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
@@ -422,11 +422,6 @@ $sociable_known_sites = Array(
422
  'url' => 'http://tipd.com/submit.php?url=PERMALINK',
423
  ),
424
 
425
- 'Tumblr' => Array(
426
- 'favicon' => 'tumblr.png',
427
- 'url' => 'http://www.tumblr.com/share?v=3&u=PERMALINK&t=TITLE&s=',
428
- ),
429
-
430
  'TwitThis' => Array(
431
  'favicon' => 'twitter.png',
432
  'url' => 'http://twitter.com/home?status=PERMALINK',
@@ -690,8 +685,8 @@ function sociable_admin_js() {
690
  global $sociablepluginpath;
691
 
692
  wp_enqueue_script('jquery');
693
- wp_enqueue_script('jquery-ui-core');
694
- wp_enqueue_script('jquery-ui-sortable');
695
  wp_enqueue_script('sociable-js',$sociablepluginpath.'sociable-admin.js',array('jquery','jquery-ui-core','jquery-ui-sortable'));
696
  }
697
  }
@@ -700,9 +695,9 @@ add_action('wp_print_scripts', 'sociable_admin_js');
700
  function sociable_admin_css() {
701
  global $sociablepluginpath;
702
  if (isset($_GET['page']) && $_GET['page'] == 'Sociable')
703
- wp_enqueue_style('sociablecss',$sociablepluginpath.'sociable-admin.css');
704
  }
705
- add_action('wp_print_styles', 'sociable_admin_css');
706
 
707
  function sociable_js() {
708
  if (in_array('Wists', get_option('sociable_active_sites'))) {
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.
6
+ Version: 3.2.1
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
422
  'url' => 'http://tipd.com/submit.php?url=PERMALINK',
423
  ),
424
 
 
 
 
 
 
425
  'TwitThis' => Array(
426
  'favicon' => 'twitter.png',
427
  'url' => 'http://twitter.com/home?status=PERMALINK',
685
  global $sociablepluginpath;
686
 
687
  wp_enqueue_script('jquery');
688
+ wp_enqueue_script('jquery-ui-core',false,array('jquery'));
689
+ wp_enqueue_script('jquery-ui-sortable',false,array('jquery','jquery-ui-core'));
690
  wp_enqueue_script('sociable-js',$sociablepluginpath.'sociable-admin.js',array('jquery','jquery-ui-core','jquery-ui-sortable'));
691
  }
692
  }
695
  function sociable_admin_css() {
696
  global $sociablepluginpath;
697
  if (isset($_GET['page']) && $_GET['page'] == 'Sociable')
698
+ echo '<link rel="stylesheet" href="'.$sociablepluginpath.'sociable-admin.css" type="text/css" media="screen" charset="utf-8"/>';
699
  }
700
+ add_action('admin_head', 'sociable_admin_css');
701
 
702
  function sociable_js() {
703
  if (in_array('Wists', get_option('sociable_active_sites'))) {