Changeset 3385319
- Timestamp:
- 10/27/2025 03:29:00 PM (5 months ago)
- Location:
- houzez-property-feed/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
houzez-property-feed.php (modified) (2 diffs)
-
includes/class-houzez-property-feed-license.php (modified) (5 diffs)
-
includes/format-functions.php (modified) (2 diffs)
-
includes/import-formats/class-houzez-property-feed-format-behomes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
houzez-property-feed/trunk/README.txt
r3370837 r3385319 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 2.5.3 07 Version: 2.5.3 06 Stable tag: 2.5.31 7 Version: 2.5.31 8 8 Homepage: https://houzezpropertyfeed.com 9 9 License: GPLv3 … … 144 144 == Changelog == 145 145 146 = 2.5.31 - 2025-10-27 = 147 * Added 'Verkauft' status to Propstack settings and mappings 148 * Handle license checking service being unavailable 149 * Extended license checks to every 3 hours instead of every hour 150 * Corrected log in Behomes format 151 146 152 = 2.5.30 - 2025-10-01 = 147 153 * Added filter 'houzez_property_feed_insert_postarr' to override core post data when inserting new property -
houzez-property-feed/trunk/houzez-property-feed.php
r3370837 r3385319 4 4 * Plugin Uri: https://houzezpropertyfeed.com 5 5 * Description: Automatically import properties to Houzez from estate agency CRMs and export to portals 6 * Version: 2.5.3 06 * Version: 2.5.31 7 7 * Author: PropertyHive 8 8 * Author URI: https://wp-property-hive.com … … 20 20 * @var string 21 21 */ 22 public $version = '2.5.3 0';22 public $version = '2.5.31'; 23 23 24 24 /** -
houzez-property-feed/trunk/includes/class-houzez-property-feed-license.php
r3318773 r3385319 101 101 return $return; 102 102 } 103 104 // only do once per day105 /*if ( $force !== true )106 {107 $last_checked = get_option( 'houzez_property_feed_license_key_last_checked', '' );108 if ( ( time() - $last_checked) <= 86400 )109 {110 $license_key_status = get_option( 'houzez_property_feed_license_key_status', array() );111 if ( is_array($license_key_status) && !empty($license_key_status) )112 {113 $return = $license_key_status;114 $this->license_status = $return;115 return $return;116 }117 }118 }*/119 103 120 104 if ( $force !== true ) … … 190 174 if ( is_wp_error($response) ) 191 175 { 176 // error for some reason. Return last known status 177 $previous_license_key_status = get_option( 'houzez_property_feed_license_key_status', '' ); 178 if ( !empty($previous_license_key_status) ) 179 { 180 set_transient( 'houzez_property_feed_license_status', $previous_license_key_status, HOUR_IN_SECONDS ); 181 $this->license_status = $previous_license_key_status; 182 return $previous_license_key_status; 183 } 184 192 185 $return = array( 193 186 'success' => false, … … 200 193 if ( 200 !== wp_remote_retrieve_response_code( $response ) ) 201 194 { 195 // error for some reason. Return last known status 196 $previous_license_key_status = get_option( 'houzez_property_feed_license_key_status', '' ); 197 if ( !empty($previous_license_key_status) ) 198 { 199 set_transient( 'houzez_property_feed_license_status', $previous_license_key_status, HOUR_IN_SECONDS ); 200 $this->license_status = $previous_license_key_status; 201 return $previous_license_key_status; 202 } 203 202 204 $return = array( 203 205 'success' => false, … … 214 216 if ( json_last_error() !== JSON_ERROR_NONE ) 215 217 { 218 // error for some reason. Return last known status 219 $previous_license_key_status = get_option( 'houzez_property_feed_license_key_status', '' ); 220 if ( !empty($previous_license_key_status) ) 221 { 222 set_transient( 'houzez_property_feed_license_status', $previous_license_key_status, HOUR_IN_SECONDS ); 223 $this->license_status = $previous_license_key_status; 224 return $previous_license_key_status; 225 } 226 216 227 $return = array( 217 228 'success' => false, … … 252 263 253 264 $this->license_status = $return; 254 set_transient( 'houzez_property_feed_license_status', $return, HOUR_IN_SECONDS );265 set_transient( 'houzez_property_feed_license_status', $return, HOUR_IN_SECONDS * 3 ); 255 266 return $return; 256 267 } 257 268 else 258 269 { 270 // error for some reason. Return last known status 271 $previous_license_key_status = get_option( 'houzez_property_feed_license_key_status', '' ); 272 if ( !empty($previous_license_key_status) ) 273 { 274 set_transient( 'houzez_property_feed_license_status', $previous_license_key_status, HOUR_IN_SECONDS ); 275 $this->license_status = $previous_license_key_status; 276 return $previous_license_key_status; 277 } 278 259 279 $return = array( 260 280 'success' => false, -
houzez-property-feed/trunk/includes/format-functions.php
r3365729 r3385319 2112 2112 'Akquise' => 'Akquise', 2113 2113 'Abgeschlossen' => 'Abgeschlossen', 2114 'Verkauft' => 'Verkauft', 2114 2115 ), 2115 2116 'default' => array( 'Vermarktung' ), … … 2124 2125 'Akquise' => 'Akquise', 2125 2126 'Abgeschlossen' => 'Abgeschlossen', 2127 'Verkauft' => 'Verkauft', 2126 2128 ), 2127 2129 'lettings_status' => array( -
houzez-property-feed/trunk/includes/import-formats/class-houzez-property-feed-format-behomes.php
r3370837 r3385319 100 100 if ($json !== FALSE) 101 101 { 102 $this->log("Parsing " . $department . "properties on page " . $current_page);102 $this->log("Parsing properties on page " . $current_page); 103 103 104 104 if ( isset($json['filter_params']['max_pages']) )
Note: See TracChangeset
for help on using the changeset viewer.