Plugin Directory

Changeset 3385319


Ignore:
Timestamp:
10/27/2025 03:29:00 PM (5 months ago)
Author:
PropertyHive
Message:

Update to version 2.5.31

Location:
houzez-property-feed/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • houzez-property-feed/trunk/README.txt

    r3370837 r3385319  
    44Requires at least: 3.8
    55Tested up to: 6.8
    6 Stable tag: 2.5.30
    7 Version: 2.5.30
     6Stable tag: 2.5.31
     7Version: 2.5.31
    88Homepage: https://houzezpropertyfeed.com
    99License: GPLv3
     
    144144== Changelog ==
    145145
     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
    146152= 2.5.30 - 2025-10-01 =
    147153* 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  
    44 * Plugin Uri: https://houzezpropertyfeed.com
    55 * Description: Automatically import properties to Houzez from estate agency CRMs and export to portals
    6  * Version: 2.5.30
     6 * Version: 2.5.31
    77 * Author: PropertyHive
    88 * Author URI: https://wp-property-hive.com
     
    2020     * @var string
    2121     */
    22     public $version = '2.5.30';
     22    public $version = '2.5.31';
    2323
    2424    /**
  • houzez-property-feed/trunk/includes/class-houzez-property-feed-license.php

    r3318773 r3385319  
    101101            return $return;
    102102        }
    103 
    104         // only do once per day
    105         /*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         }*/
    119103
    120104        if ( $force !== true )
     
    190174        if ( is_wp_error($response) )
    191175        {
     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
    192185            $return = array(
    193186                'success' => false,
     
    200193        if ( 200 !== wp_remote_retrieve_response_code( $response ) )
    201194        {
     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
    202204            $return = array(
    203205                'success' => false,
     
    214216        if ( json_last_error() !== JSON_ERROR_NONE )
    215217        {
     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
    216227            $return = array(
    217228                'success' => false,
     
    252263
    253264            $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 );
    255266            return $return;
    256267        }
    257268        else
    258269        {
     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           
    259279            $return = array(
    260280                'success' => false,
  • houzez-property-feed/trunk/includes/format-functions.php

    r3365729 r3385319  
    21122112                        'Akquise' => 'Akquise',
    21132113                        'Abgeschlossen' => 'Abgeschlossen',
     2114                        'Verkauft' => 'Verkauft',
    21142115                    ),
    21152116                    'default' => array( 'Vermarktung' ),
     
    21242125                    'Akquise' => 'Akquise',
    21252126                    'Abgeschlossen' => 'Abgeschlossen',
     2127                    'Verkauft' => 'Verkauft',
    21262128                ),
    21272129                'lettings_status' => array(
  • houzez-property-feed/trunk/includes/import-formats/class-houzez-property-feed-format-behomes.php

    r3370837 r3385319  
    100100            if ($json !== FALSE)
    101101            {
    102                 $this->log("Parsing " . $department . " properties on page " . $current_page);
     102                $this->log("Parsing properties on page " . $current_page);
    103103
    104104                if ( isset($json['filter_params']['max_pages']) )
Note: See TracChangeset for help on using the changeset viewer.