Changeset 443933
- Timestamp:
- 09/26/2011 11:05:27 PM (14 years ago)
- Location:
- wpml-json-api/trunk
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
readme.txt (modified) (6 diffs)
-
wpml-json-api.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wpml-json-api/trunk
-
Property
svn:ignore
set to
.git
-
Property
svn:ignore
set to
-
wpml-json-api/trunk/readme.txt
r443916 r443933 5 5 Requires at least: 2.8 6 6 Tested up to: 3.2 7 Stable tag: 0.1. 17 Stable tag: 0.1.2 8 8 9 9 An extension to JSON-API for sites using the WPML Multilingual CMS plugin. … … 26 26 27 27 1. Augmented response objects 28 1.1. Language29 1.2. Translations28 * 1.1. Language 29 * 1.2. Translations 30 30 2. Filtering response objects by language 31 2.1. Specifying the language32 2.2. Filtered results31 * 2.1. Specifying the language 32 * 2.2. Filtered results 33 33 3. Response object translation 34 3.1.Specifying the target language35 3.2.Translated results36 3.3.Translatable objects and properties34 * 3.1 Specifying the target language 35 * 3.2 Translated results 36 * 3.3 Translatable objects and properties 37 37 38 38 == 1. Augmented response objects == … … 43 43 language in which the object content was written. 44 44 45 Let's take a look at an example response to a request made to 46 `http://wordpress.site.example/api/get_page/?dev=1&id=127`. 45 Let's take a look at an example response to a request made to `http://wordpress.site.example/api/get_page/?dev=1&id=127`. 47 46 48 47 { … … 290 289 properties, those that can be rewritten as described in Section 3.2. 291 290 292 `post` and `page`:291 Objects `post` and `page`: 293 292 294 293 * `slug` … … 298 297 * `content` 299 298 300 `tag` and `category`:299 Objects `tag` and `category`: 301 300 302 301 * `slug` … … 304 303 * `description` 305 304 305 == Changelog == 306 307 Please see the [GitHub project page](https://github.com/marxarelli/wpml-json-api) for a comprehensive list of changes. -
wpml-json-api/trunk/wpml-json-api.php
r443916 r443933 5 5 Author: Daniel Duvall 6 6 Author URI: http://mutual.io 7 Version: 0.1. 17 Version: 0.1.2 8 8 */ 9 9 10 10 if (defined('WPML_JSON_API_VERSION')) return; 11 11 12 define('WPML_JSON_API_VERSION', '0.1. 1');12 define('WPML_JSON_API_VERSION', '0.1.2'); 13 13 define('WPML_JSON_API_PATH', dirname(__FILE__)); 14 14
Note: See TracChangeset
for help on using the changeset viewer.