Sociable - Version 3.2.2

Version Description

Download this release

Release Info

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

Code changes from version 3.2.1 to 3.2.2

Files changed (2) hide show
  1. readme.txt +2 -1
  2. sociable.php +4 -4
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
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!
10
 
@@ -19,6 +19,7 @@ More info:
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.
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.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!
10
 
19
 
20
  **Changelog**
21
 
22
+ * 3.2.2 Moved style loading to admin_print_styles and scripts to admin_print_scripts
23
  * 3.2.1 Fixed a bug with printing styles in 2.8 beta
24
  * 3.2
25
  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.
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.1
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
@@ -690,14 +690,14 @@ function sociable_admin_js() {
690
  wp_enqueue_script('sociable-js',$sociablepluginpath.'sociable-admin.js',array('jquery','jquery-ui-core','jquery-ui-sortable'));
691
  }
692
  }
693
- add_action('wp_print_scripts', 'sociable_admin_js');
694
 
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'))) {
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.2
7
  Author: Joost de Valk
8
  Author URI: http://yoast.com/
9
 
690
  wp_enqueue_script('sociable-js',$sociablepluginpath.'sociable-admin.js',array('jquery','jquery-ui-core','jquery-ui-sortable'));
691
  }
692
  }
693
+ add_action('admin_print_scripts', 'sociable_admin_js');
694
 
695
  function sociable_admin_css() {
696
  global $sociablepluginpath;
697
  if (isset($_GET['page']) && $_GET['page'] == 'Sociable')
698
+ wp_enqueue_style('sociable-css',$sociablepluginpath.'sociable-admin.css');
699
  }
700
+ add_action('admin_print_styles', 'sociable_admin_css');
701
 
702
  function sociable_js() {
703
  if (in_array('Wists', get_option('sociable_active_sites'))) {