Skip to content

Commit

Permalink
Merge pull request #41 from SimplyRETS/fix-doc-parameters
Browse files Browse the repository at this point in the history
Remove 'lotsize' parameter from documentation.
  • Loading branch information
CodyReichert committed Dec 29, 2016
2 parents 31fcba7 + b631b2b commit 6d3057f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 2.2.3
* DOCUMENTATION: Remove unsupported 'lotsize' parameter from documentation.

## 2.2.2
* FEATURE: Add support for more API fields including Garage Spaces, HOA, and more.

Expand Down
11 changes: 5 additions & 6 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Author: SimplyRETS
Contributors: SimplyRETS
Tags: rets, idx, real estate listings, real estate, listings, rets listings, simply rets, realtor, rets feed, idx feed
Requires at least: 3.0.1
Tested up to: 4.6.1
Stable tag: 2.2.2
Tested up to: 4.7
Stable tag: 2.2.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -235,6 +235,9 @@ listing sidebar widget.

== Changelog ==

= 2.2.3 =
* DOCUMENTATION: Remove unsupported 'lotsize' parameter from documentation.

= 2.2.2 =
* FEATURE: Add support for more API fields including Garage Spaces, HOA, and more.

Expand Down Expand Up @@ -499,10 +502,6 @@ Refines listings to a specific agent by taking an agent's MLS ID.
Refines listings to a specific brokerage by taking a brokerage's MLS ID.
`[sr_listings brokers="KWREALTY1"]`

* **lotsize**
Refines listings by a certain lot size in Sq Ft (note, this is not area).
`[sr_listings lotsize="5000"]`

* **area**
Refines listings by a certain area size in Sq Ft.
`[sr_listings area="1500"]`
Expand Down
4 changes: 2 additions & 2 deletions simply-rets-api-helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public static function srApiOptionsRequest( $url ) {
$php_version = phpversion();
$site_url = get_site_url();

$ua_string = "SimplyRETSWP/2.2.2 Wordpress/{$wp_version} PHP/{$php_version}";
$ua_string = "SimplyRETSWP/2.2.3 Wordpress/{$wp_version} PHP/{$php_version}";
$accept_header = "Accept: application/json; q=0.2, application/vnd.simplyrets-v0.1+json";

if( is_callable( 'curl_init' ) ) {
Expand Down Expand Up @@ -209,7 +209,7 @@ public static function srApiRequest( $url ) {
$wp_version = get_bloginfo('version');
$php_version = phpversion();

$ua_string = "SimplyRETSWP/2.2.2 Wordpress/{$wp_version} PHP/{$php_version}";
$ua_string = "SimplyRETSWP/2.2.3 Wordpress/{$wp_version} PHP/{$php_version}";
$accept_header = "Accept: application/json; q=0.2, application/vnd.simplyrets-v0.1+json";

if( is_callable( 'curl_init' ) ) {
Expand Down
2 changes: 1 addition & 1 deletion simply-rets.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://simplyrets.com
Description: Show your Real Estate listings on your Wordpress site. SimplyRETS provides a very simple set up and full control over your listings.
Author: SimplyRETS
Version: 2.2.2
Version: 2.2.3
License: GNU General Public License v3 or later
Copyright (c) SimplyRETS 2014 - 2015
Expand Down

0 comments on commit 6d3057f

Please sign in to comment.