Skip to content

Commit

Permalink
Bump to v1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishutchinson committed Sep 2, 2015
1 parent 7b6fae8 commit 9473db5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Contributors: chrishutchinson, kokarn, ramvi
Tags: acf, api, wp-api
Requires at least: 3.9.0
Tested up to: 4.3.0
Stable tag: 1.3.0
Stable tag: 1.3.1
License: MIT
License URI: http://opensource.org/licenses/MIT

Expand Down Expand Up @@ -39,6 +39,10 @@ Request a specific option, by passing in the option name

## Changelog

### 1.3.1

* Fix to support PHP < 5.4

### 1.3.0

* Add support for v2 of WP-API
Expand Down
5 changes: 3 additions & 2 deletions acf-to-wp-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Puts all ACF fields from posts, pages, custom post types, attachments and taxonomy terms, into the WP-API output under the 'acf' key
* Author: Chris Hutchinson
* Author URI: http://www.chrishutchinson.me
* Version: 1.3.0
* Version: 1.3.1
* Plugin URI: https://wordpress.org/plugins/acf-to-wp-api/
*/

Expand Down Expand Up @@ -35,7 +35,7 @@ function __construct() {
$this->plugin->name = 'acf-to-wp-api';
$this->plugin->folder = WP_PLUGIN_DIR . '/' . $this->plugin->name;
$this->plugin->url = WP_PLUGIN_URL . '/' . str_replace(basename( __FILE__), "", plugin_basename(__FILE__));
$this->plugin->version = '1.3.0';
$this->plugin->version = '1.3.1';

$this->apiVersion = get_option( 'rest_api_plugin_version', get_option( 'json_api_plugin_version', null ) );

Expand Down Expand Up @@ -397,6 +397,7 @@ private function _getData($id, $type = 'post', $object = array()) {
*
* @return void
*
* @since 1.3.1 Switched to array() notation (over [] notation) to support PHP < 5.4
* @since 1.3.0
*/
function addACFOptionRouteV2() {
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: chrishutchinson, kokarn, ramvi
Tags: acf, api, wp-api
Requires at least: 3.9.0
Tested up to: 4.3.0
Stable tag: 1.3.0
Stable tag: 1.3.1
License: MIT
License URI: http://opensource.org/licenses/MIT

Expand Down Expand Up @@ -32,6 +32,10 @@ See GitHub issue #13 (http://github.com/times/acf-to-wp-api/issues/13) for examp

== Changelog ==

= 1.3.1 =

* Fix to support PHP < 5.4

= 1.3.0 =

* Add support for v2 of WP-API
Expand Down

0 comments on commit 9473db5

Please sign in to comment.