From 28e46d73e4ff2c5c8195b1af55cc0f638587258d Mon Sep 17 00:00:00 2001 From: Falko Joseph Date: Thu, 29 Apr 2021 13:09:41 +0200 Subject: [PATCH] Markers now have the status in the data --- .DS_Store | Bin 10244 -> 10244 bytes modules/class-wp-sweepbright-query.php | 1 + wp-sweepbright.php | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.DS_Store b/.DS_Store index d117f6d615cac8da847c99e9eb04184f2d97702b..2b5a6cc6c5726f2851061404c53dd802bfa278ee 100644 GIT binary patch delta 16 XcmZn(XbIRLCp~$UfXC)E>3KW=HY)}N delta 23 ecmZn(XbIRLC(UMJsH0$LI(dVD)8;hkc{~7CI0qsC diff --git a/modules/class-wp-sweepbright-query.php b/modules/class-wp-sweepbright-query.php index ba9dfe61..b03b833a 100644 --- a/modules/class-wp-sweepbright-query.php +++ b/modules/class-wp-sweepbright-query.php @@ -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"], diff --git a/wp-sweepbright.php b/wp-sweepbright.php index 0adad6f8..e0e9ea03 100644 --- a/wp-sweepbright.php +++ b/wp-sweepbright.php @@ -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. @@ -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.