JSON API - Version 0.9.2

Version Description

Fixed a bug where the /api/ path would stop working upon publishing new pages.

Download this release

Release Info

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

Code changes from version 0.9.1 to 0.9.2

Files changed (2) hide show
  1. json-api.php +2 -1
  2. readme.txt +7 -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.1
7
  Author: Dan Phiffer
8
  Author URI: http://phiffer.org/
9
  */
@@ -16,6 +16,7 @@ function json_api_init() {
16
  global $json_api, $json_api_dir;
17
  require_once "$json_api_dir/singletons/controller.php";
18
  require_once "$json_api_dir/singletons/query.php";
 
19
  $json_api = new JSON_API_Controller();
20
  }
21
 
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.2
7
  Author: Dan Phiffer
8
  Author URI: http://phiffer.org/
9
  */
16
  global $json_api, $json_api_dir;
17
  require_once "$json_api_dir/singletons/controller.php";
18
  require_once "$json_api_dir/singletons/query.php";
19
+ add_filter('rewrite_rules_array', 'json_api_rewrites');
20
  $json_api = new JSON_API_Controller();
21
  }
22
 
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.1
7
 
8
  A RESTful API for WordPress
9
 
@@ -587,6 +587,9 @@ Submits a comment to a WordPress post.
587
 
588
  == Changelog ==
589
 
 
 
 
590
  = 0.9 (2010-02-04): =
591
  * Added a `create_post` method
592
 
@@ -625,6 +628,9 @@ Submits a comment to a WordPress post.
625
 
626
  == Upgrade Notice ==
627
 
 
 
 
628
  = 0.9 =
629
  Added a new data manipulation method: `create_post`.
630
 
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.2
7
 
8
  A RESTful API for WordPress
9
 
587
 
588
  == Changelog ==
589
 
590
+ = 0.9.2 (2010-03-18): =
591
+ * Fixed a bug where the /api/ rewrite rules would be lost
592
+
593
  = 0.9 (2010-02-04): =
594
  * Added a `create_post` method
595
 
628
 
629
  == Upgrade Notice ==
630
 
631
+ = 0.9.2 =
632
+ Fixed a bug where the /api/ path would stop working upon publishing new pages.
633
+
634
  = 0.9 =
635
  Added a new data manipulation method: `create_post`.
636