JSON API - Version 0.7.1

Version Description

(2010-01-14): = * Fixed another subtle bug with get_author_index

Download this release

Release Info

Developer dphiffer
Plugin Icon wp plugin JSON API
Version 0.7.1
Comparing to
See all releases

Code changes from version 0.7 to 0.7.1

Files changed (2) hide show
  1. readme.txt +4 -1
  2. singletons/controller.php +1 -1
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: dphiffer
3
  Tags: json, api, ajax, cms, admin, integration, moma
4
  Requires at least: 2.8
5
  Tested up to: 2.8
6
- Stable tag: 0.7
7
 
8
  A RESTful API for WordPress
9
 
@@ -558,6 +558,9 @@ Submits a comment to a WordPress post.
558
 
559
  == Changelog ==
560
 
 
 
 
561
  = 0.7 (2010-01-08): =
562
  * Added a `post_count` response to tag objects
563
  * Fixed a bug with `get_author_index`
3
  Tags: json, api, ajax, cms, admin, integration, moma
4
  Requires at least: 2.8
5
  Tested up to: 2.8
6
+ Stable tag: 0.7.1
7
 
8
  A RESTful API for WordPress
9
 
558
 
559
  == Changelog ==
560
 
561
+ = 0.7.1 (2010-01-14): =
562
+ * Fixed another subtle bug with `get_author_index`
563
+
564
  = 0.7 (2010-01-08): =
565
  * Added a `post_count` response to tag objects
566
  * Fixed a bug with `get_author_index`
singletons/controller.php CHANGED
@@ -190,7 +190,7 @@ class JSON_API_Controller {
190
  $authors = $this->introspector->get_authors();
191
  return $this->response->get_json(array(
192
  'count' => count($authors),
193
- 'authors' => $authors
194
  ));
195
  }
196
 
190
  $authors = $this->introspector->get_authors();
191
  return $this->response->get_json(array(
192
  'count' => count($authors),
193
+ 'authors' => array_values($authors)
194
  ));
195
  }
196