Changeset 3210806
- Timestamp:
- 12/20/2024 02:57:18 AM (15 months ago)
- Location:
- essential-real-estate/trunk
- Files:
-
- 5 edited
-
CHANGELOG.md (modified) (1 diff)
-
essential-real-estate.php (modified) (2 diffs)
-
includes/class-ere-query.php (modified) (2 diffs)
-
public/templates/property/search-fields/property_feature.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
essential-real-estate/trunk/CHANGELOG.md
r3204549 r3210806 1 1 Changelog 2 2 ========= 3 ### 5.1.8 - December 20, 2024 4 * Fix query property by features 5 3 6 ### 5.1.7 - December 09, 2024 4 7 * Fix capabilities for post_types: "trans_log", "invoice" and "user_package" -
essential-real-estate/trunk/essential-real-estate.php
r3204549 r3210806 4 4 * Plugin URI: https://wordpress.org/plugins/essential-real-estate 5 5 * Description: The latest plugins Real Estate you want. Completely all features, easy customize and override layout, functions. Supported global payment, build market, single, list property, single agent...etc. All fields are defined dynamic, they will help you can build any kind of Real Estate website. 6 * Version: 5.1. 76 * Version: 5.1.8 7 7 * Author: G5Theme 8 8 * Author URI: http://themeforest.net/user/g5theme … … 29 29 30 30 if (!defined('ERE_PLUGIN_VER')) { 31 define('ERE_PLUGIN_VER', '5.1. 7');31 define('ERE_PLUGIN_VER', '5.1.8'); 32 32 } 33 33 if (!defined('ERE_PLUGIN_FILE')) { -
essential-real-estate/trunk/includes/class-ere-query.php
r3150612 r3210806 86 86 'max-land-area' => '', 87 87 'property_identity' => '', 88 ' features' => '',88 'other_features' => '', 89 89 'item_amount' => '', 90 90 'paged' => 1, … … 751 751 752 752 public function get_tax_query_feature( $tax_query ) { 753 $features = isset( $_REQUEST[' features'] ) ? wp_unslash( $_REQUEST['features'] ) : $this->_atts['features'];753 $features = isset( $_REQUEST['other_features'] ) ? wp_unslash( $_REQUEST['other_features'] ) : $this->_atts['other_features']; 754 754 if ( ! empty( $features )) { 755 if (is_string($features) && strpos($features,';')) { 756 $features = explode(';',$features); 757 } 758 755 if (!is_array($features)) { 756 $features = explode(';',$features); 757 } 759 758 $tax_query[] = array( 760 759 'taxonomy' => 'property-feature', -
essential-real-estate/trunk/public/templates/property/search-fields/property_feature.php
r3123067 r3210806 34 34 }; 35 35 36 $prefix = uniqid('__'); 37 36 38 $has_request_features = !empty($request_features) && is_array($request_features) & count($request_features) > 0; 37 39 ?> … … 58 60 <div class="form-check"> 59 61 <?php if (!empty($request_features) && in_array($child_item->slug, $request_features)): ?> 60 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($child_item->term_id )?>" name="other_features" checked="checked" value="<?php echo esc_attr($child_item->slug) ?>" />62 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($child_item->term_id . $prefix)?>" name="other_features" checked="checked" value="<?php echo esc_attr($child_item->slug) ?>" /> 61 63 <?php else: ?> 62 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($child_item->term_id )?>" name="other_features" value="<?php echo esc_attr($child_item->slug) ?>" />64 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($child_item->term_id . $prefix)?>" name="other_features" value="<?php echo esc_attr($child_item->slug) ?>" /> 63 65 <?php endif; ?> 64 <label class="form-check-label" for="property_feature_<?php echo esc_attr($child_item->term_id )?>">66 <label class="form-check-label" for="property_feature_<?php echo esc_attr($child_item->term_id . $prefix)?>"> 65 67 <?php echo esc_html($child_item->name); ?> 66 68 </label> … … 77 79 <div class="form-check"> 78 80 <?php if (!empty($request_features) && in_array($parents_item->slug, $request_features)): ?> 79 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($parents_item->term_id )?>" name="other_features" checked="checked" value="<?php echo esc_attr($parents_item->slug) ?>" />81 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($parents_item->term_id . $prefix)?>" name="other_features" checked="checked" value="<?php echo esc_attr($parents_item->slug) ?>" /> 80 82 <?php else: ?> 81 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($parents_item->term_id )?>" name="other_features" value="<?php echo esc_attr($parents_item->slug) ?>" />83 <input type="checkbox" class="form-check-input" id="property_feature_<?php echo esc_attr($parents_item->term_id . $prefix)?>" name="other_features" value="<?php echo esc_attr($parents_item->slug) ?>" /> 82 84 <?php endif; ?> 83 <label class="form-check-label" for="property_feature_<?php echo esc_attr($parents_item->term_id )?>">85 <label class="form-check-label" for="property_feature_<?php echo esc_attr($parents_item->term_id . $prefix)?>"> 84 86 <?php echo esc_html($parents_item->name); ?> 85 87 </label> -
essential-real-estate/trunk/readme.txt
r3204549 r3210806 5 5 Requires at least: 4.5 6 6 Tested up to: 6.6.2 7 Stable tag: 5.1. 77 Stable tag: 5.1.8 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 99 99 100 100 == Changelog == 101 = 5.1.8 = 102 * Fix query property by features 103 101 104 = 5.1.7 = 102 105 * Fix capabilities for post_types: "trans_log", "invoice" and "user_package"
Note: See TracChangeset
for help on using the changeset viewer.