Plugin Directory

Changeset 763565


Ignore:
Timestamp:
08/28/2013 10:36:41 AM (13 years ago)
Author:
takien
Message:

Update to 0.3

Location:
jsonpress/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • jsonpress/trunk/README.md

    r763379 r763565  
    3737## Changelog
    3838
     39= 0.3 =
     40* /json endpoints now works accross site, (previously only on page or post)
     41
    3942= 0.2 =
    4043* exclude_query now run after result is formatted
  • jsonpress/trunk/jsonpress.php

    r763379 r763565  
    33Plugin Name: JSONPress
    44Author: Takien
    5 Version: 0.2
     5Version: 0.3
    66Description: JSON API for WordPress
    77Author URI: http://takien.com/
     
    1717        var $plugin_name    = 'JSONPress';
    1818        var $plugin_slug    = 'jsonpress';
    19         var $plugin_version = '0.2';
     19        var $plugin_version = '0.3';
    2020       
    2121        var $site_domain = '';
     
    9494        function jsonpress_endpoints_add_endpoint() {
    9595        // register a "json" endpoint to be applied to posts and pages
    96             add_rewrite_endpoint( 'json', EP_PERMALINK | EP_PAGES );
     96            add_rewrite_endpoint( 'json', EP_ALL );
    9797        }
    9898        //modify query
  • jsonpress/trunk/readme.txt

    r763379 r763565  
    55Requires at least: 3.5.1
    66Tested up to: 3.6
    7 Stable tag: 0.2
     7Stable tag: 0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2929
    3030Examples:
     31
    3132* `example.com/get/wp_list_categories` to displays list categories in JSON format
    3233* `example.com/get/wp_list_pages` to displays list pages
     
    3738
    3839== Other notes ==
    39 * `/json/` Rewrite endpoints may be not work at this time. You can use sub domain or query `?json=1` instead
     40* Use subdomain API is recommended to ensure all links/permalinks are rewritten to API URL.
    4041
    4142== Installation ==
     
    6667== Changelog ==
    6768
     69= 0.3 =
     70* /json endpoints now works accross site, (previously only on page or post)
     71
    6872= 0.2 =
    6973* exclude_query now run after result is formatted
Note: See TracChangeset for help on using the changeset viewer.