Co-Authors Plus - Version 2.5.1

Version Description

Download this release

Release Info

Developer batmoo
Plugin Icon wp plugin Co-Authors Plus
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5 to 2.5.1

Files changed (2) hide show
  1. co-authors-plus.php +4 -4
  2. readme.txt +5 -1
co-authors-plus.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Co-Authors Plus
4
  Plugin URI: http://wordpress.org/extend/plugins/co-authors-plus/
5
  Description: Allows multiple authors to be assigned to a post. This plugin is an extended version of the Co-Authors plugin developed by Weston Ruter.
6
- Version: 2.5
7
  Author: Mohammad Jangda
8
  Author URI: http://digitalize.ca
9
  Copyright: Some parts (C) 2009-2011, Mohammad Jangda; Other parts (C) 2008, Weston Ruter
@@ -43,7 +43,7 @@ if( ! defined( 'COAUTHORS_DEFAULT_AFTER' ) )
43
  define( 'COAUTHORS_PLUS_PATH', dirname( __FILE__ ) );
44
  define( 'COAUTHORS_PLUS_URL', plugin_dir_url( __FILE__ ) );
45
 
46
- define( 'COAUTHORS_PLUS_VERSION', '2.5' );
47
 
48
  class coauthors_plus {
49
 
@@ -493,7 +493,7 @@ class coauthors_plus {
493
 
494
  $term = get_term_by( 'slug', $user->user_login, $this->coauthor_taxonomy );
495
 
496
- if( !$term || is_wp_error( ) ) {
497
  $count = 0;
498
  } else {
499
  $count = $term->count;
@@ -894,4 +894,4 @@ function coauthors_plus_activate_plugin() {}
894
  add_action( 'init', 'coauthors_plus_init' );
895
 
896
  // Hook to perform action when plugin activated
897
- register_activation_hook( __FILE__, 'coauthors_plus_activate_plugin' );
3
  Plugin Name: Co-Authors Plus
4
  Plugin URI: http://wordpress.org/extend/plugins/co-authors-plus/
5
  Description: Allows multiple authors to be assigned to a post. This plugin is an extended version of the Co-Authors plugin developed by Weston Ruter.
6
+ Version: 2.5.1
7
  Author: Mohammad Jangda
8
  Author URI: http://digitalize.ca
9
  Copyright: Some parts (C) 2009-2011, Mohammad Jangda; Other parts (C) 2008, Weston Ruter
43
  define( 'COAUTHORS_PLUS_PATH', dirname( __FILE__ ) );
44
  define( 'COAUTHORS_PLUS_URL', plugin_dir_url( __FILE__ ) );
45
 
46
+ define( 'COAUTHORS_PLUS_VERSION', '2.5.1' );
47
 
48
  class coauthors_plus {
49
 
493
 
494
  $term = get_term_by( 'slug', $user->user_login, $this->coauthor_taxonomy );
495
 
496
+ if( ! $term || is_wp_error( $term ) ) {
497
  $count = 0;
498
  } else {
499
  $count = $term->count;
894
  add_action( 'init', 'coauthors_plus_init' );
895
 
896
  // Hook to perform action when plugin activated
897
+ register_activation_hook( __FILE__, 'coauthors_plus_activate_plugin' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://digitalize.ca/donate
4
  Tags: authors, users, multiple authors, coauthors, multi-author
5
  Tested up to: 3.1
6
  Requires at least: 3.0
7
- Stable tag: 2.5
8
 
9
  Allows multiple authors to be assigned to a Posts via search-as-you-type input boxes.
10
 
@@ -20,6 +20,10 @@ The extended version incorporates search-as-you-type functionality for adding us
20
 
21
  == Changelog ==
22
 
 
 
 
 
23
  = 2011-03-26 / 3.0 =
24
 
25
  * Custom Post Type Support
4
  Tags: authors, users, multiple authors, coauthors, multi-author
5
  Tested up to: 3.1
6
  Requires at least: 3.0
7
+ Stable tag: 2.5.1
8
 
9
  Allows multiple authors to be assigned to a Posts via search-as-you-type input boxes.
10
 
20
 
21
  == Changelog ==
22
 
23
+ = 2011-03-26 / 2.5.1 =
24
+
25
+ * Fix with author post count (throwing errors)
26
+
27
  = 2011-03-26 / 3.0 =
28
 
29
  * Custom Post Type Support