Changeset 3389138
- Timestamp:
- 11/03/2025 08:12:46 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-import.php (modified) (1 diff)
-
includes/format-functions.php (modified) (1 diff)
-
includes/import-formats/class-houzez-property-feed-format-inmovilla.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
houzez-property-feed/trunk/README.txt
r3385319 r3389138 4 4 Requires at least: 3.8 5 5 Tested up to: 6.8 6 Stable tag: 2.5.3 16 Stable tag: 2.5.32 7 7 Version: 2.5.31 8 8 Homepage: https://houzezpropertyfeed.com … … 144 144 == Changelog == 145 145 146 = 2.5.32 - 2025-11-03 = 147 * Field rules to cater for fields that are arrays 148 * Improved detection of rental properties in Inmovilla format 149 * Added 'provincia' to list of inmovilla address fields 150 146 151 = 2.5.31 - 2025-10-27 = 147 152 * Added 'Verkauft' status to Propstack settings and mappings -
houzez-property-feed/trunk/houzez-property-feed.php
r3385319 r3389138 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 16 * Version: 2.5.32 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 1';22 public $version = '2.5.32'; 23 23 24 24 /** -
houzez-property-feed/trunk/includes/class-houzez-property-feed-import.php
r3358551 r3389138 834 834 } 835 835 elseif ( 836 ( !isset($rule['operator']) || ( isset($rule['operator']) && $rule['operator'] == '=' ) ) && trim($value_to_check) == $rule['equal'] 837 ) 838 { 839 $found = true; 840 } 841 elseif ( 842 ( isset($rule['operator']) && $rule['operator'] == '!=' ) && trim($value_to_check) != $rule['equal'] 843 ) 844 { 845 $found = true; 846 } 847 elseif ( 848 ( isset($rule['operator']) && $rule['operator'] == 'like' ) && strpos(trim($value_to_check), $rule['equal']) !== false 836 ( !isset($rule['operator']) || ( isset($rule['operator']) && $rule['operator'] == '=' ) ) 837 && ( 838 ( is_array($value_to_check) && (function() use ($value_to_check, $rule) { 839 foreach ($value_to_check as $v) { 840 if (trim((string)$v) == $rule['equal']) return true; 841 } 842 return false; 843 })() ) 844 || ( !is_array($value_to_check) && trim((string)$value_to_check) == $rule['equal'] ) 845 ) 846 ) 847 { 848 $found = true; 849 } 850 elseif ( 851 ( isset($rule['operator']) && $rule['operator'] == '!=' ) 852 && ( 853 ( is_array($value_to_check) && (function() use ($value_to_check, $rule) { 854 foreach ($value_to_check as $v) { 855 if (trim((string)$v) == $rule['equal']) return false; // any equal ⇒ fail 856 } 857 return true; // none equal ⇒ pass 858 })() ) 859 || ( !is_array($value_to_check) && trim((string)$value_to_check) != $rule['equal'] ) 860 ) 861 ) 862 { 863 $found = true; 864 } 865 elseif ( 866 ( isset($rule['operator']) && $rule['operator'] == 'like' ) 867 && ( 868 ( is_array($value_to_check) && (function() use ($value_to_check, $rule) { 869 foreach ($value_to_check as $v) { 870 if (is_scalar($v) && strpos(trim((string)$v), $rule['equal']) !== false) return true; 871 } 872 return false; 873 })() ) 874 || ( !is_array($value_to_check) && strpos(trim((string)$value_to_check), $rule['equal']) !== false ) 875 ) 849 876 ) 850 877 { -
houzez-property-feed/trunk/includes/format-functions.php
r3385319 r3389138 1426 1426 ) 1427 1427 ), 1428 'address_fields' => array( ' ciudad', 'zona' ),1428 'address_fields' => array( 'provincia', 'ciudad', 'zona' ), 1429 1429 'taxonomy_values' => array( 1430 1430 'sales_status' => array( -
houzez-property-feed/trunk/includes/import-formats/class-houzez-property-feed-format-inmovilla.php
r3370837 r3389138 273 273 274 274 $department = 'residential-sales'; 275 if ( (string)$property->accion == 'Alquilar')275 if ( strpos((string)$property->accion, 'Alquilar') !== false ) 276 276 { 277 277 $department = 'residential-lettings';
Note: See TracChangeset
for help on using the changeset viewer.