Plugin Directory

Changeset 353764


Ignore:
Timestamp:
03/01/2011 03:28:13 PM (15 years ago)
Author:
knowledgeblog
Message:

Bugfix for coauthors() problem

Location:
knowledgeblog-table-of-contents/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • knowledgeblog-table-of-contents/trunk/kblog-table-of-contents.php

    r317410 r353764  
    44   Plugin URI: http://knowledgeblog.org/knowledgeblog-table-of-contents-plugin/
    55   Description: Display alphabetic list of articles in a particular category
    6    Version: 0.2
     6   Version: 0.3
    77   Author: Simon Cockell
    88   Author URI: http://knowledgeblog.org
     
    8080                    $i = 1;
    8181                    $len = count($authors);
     82                    if ($len == 1) {
     83                        //circumvent very rare (unique?) bug, where get_coauthors returns wrong info...
     84                        $authors = array(get_userdata($post->post_author));
     85                    }
    8286                    $author_html = '';
    8387                    foreach ($authors as $author) {
  • knowledgeblog-table-of-contents/trunk/readme.txt

    r343019 r353764  
    44Tags: table-of-contents, res-comms, scholar, academic, science
    55Requires at least: 3.0
    6 Tested up to: 3.0.1
    7 Stable tag: 0.2
     6Tested up to: 3.1
     7Stable tag: 0.3
    88
    99This plugin writes an alphabetic list of posts in a single category in place of a [ktoc] shortcode.
     
    3030* It retains the capacity to cope with normal, singly authored posts.
    3131
     32= 0.3 =
     33* Put in a workaround for a bug where get_coauthors() sometimes returns the wrong info.
     34   * Defaults to Wordpress-native author information for posts with a single author.
     35
    3236== Upgrade Notice ==
    3337
     
    3539This version provides compatibility with Co-authors Plus.
    3640
     41= 0.3 =
     42Bugfix release.
     43
    3744== Copyright ==
    3845
Note: See TracChangeset for help on using the changeset viewer.