Version Description
Download this release
Release Info
Developer | dphiffer |
Plugin | JSON API |
Version | 0.9.1 |
Comparing to | |
See all releases |
Code changes from version 0.9 to 0.9.1
- json-api.php +1 -1
- readme.txt +1 -1
- singletons/controller.php +1 -1
json-api.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: JSON API
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/json-api/
|
5 |
Description: A RESTful API for WordPress
|
6 |
-
Version: 0.9
|
7 |
Author: Dan Phiffer
|
8 |
Author URI: http://phiffer.org/
|
9 |
*/
|
3 |
Plugin Name: JSON API
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/json-api/
|
5 |
Description: A RESTful API for WordPress
|
6 |
+
Version: 0.9.1
|
7 |
Author: Dan Phiffer
|
8 |
Author URI: http://phiffer.org/
|
9 |
*/
|
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.9
|
6 |
-
Stable tag: 0.9
|
7 |
|
8 |
A RESTful API for WordPress
|
9 |
|
3 |
Tags: json, api, ajax, cms, admin, integration, moma
|
4 |
Requires at least: 2.8
|
5 |
Tested up to: 2.9
|
6 |
+
Stable tag: 0.9.1
|
7 |
|
8 |
A RESTful API for WordPress
|
9 |
|
singletons/controller.php
CHANGED
@@ -114,7 +114,7 @@ class JSON_API_Controller {
|
|
114 |
|
115 |
function get_category_posts() {
|
116 |
$query = '';
|
117 |
-
if ($this->query->
|
118 |
$query = "cat={$this->query->category_id}";
|
119 |
} else if ($this->query->category_slug) {
|
120 |
$query = "category_name={$this->query->category_slug}";
|
114 |
|
115 |
function get_category_posts() {
|
116 |
$query = '';
|
117 |
+
if ($this->query->category_id) {
|
118 |
$query = "cat={$this->query->category_id}";
|
119 |
} else if ($this->query->category_slug) {
|
120 |
$query = "category_name={$this->query->category_slug}";
|