Skip to content

Commit

Permalink
Markers now have the status in the data
Browse files Browse the repository at this point in the history
  • Loading branch information
FalkoJoseph committed Apr 29, 2021
1 parent 109a221 commit 28e46d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions modules/class-wp-sweepbright-query.php
Original file line number Diff line number Diff line change
Expand Up @@ -829,6 +829,7 @@ public static function list($params)
foreach ($results['estates'] as $estate) {
$markers[] = [
'id' => $estate["id"],
'status' => $estate["meta"]["estate"]["status"],
'permalink' => $estate["permalink"],
'title' => $estate["meta"]["estate"]["title"],
'location' => $estate["meta"]["location"],
Expand Down
4 changes: 2 additions & 2 deletions wp-sweepbright.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Author: Compagnon Agency
* Author URI: https://compagnon.agency/
* Text Domain: wp-sweepbright
* Version: 1.7.11
* Version: 1.7.13
*/

// If this file is called directly, abort.
Expand All @@ -23,7 +23,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define('WP_SWEEPBRIGHT_VERSION', '1.7.11');
define('WP_SWEEPBRIGHT_VERSION', '1.7.13');

/**
* The code that runs during plugin activation.
Expand Down

0 comments on commit 28e46d7

Please sign in to comment.