Changeset 3367847
- Timestamp:
- 09/25/2025 01:10:08 PM (6 months ago)
- Location:
- propertyhive/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (2 diffs)
-
includes/admin/class-ph-admin-menus.php (modified) (1 diff)
-
includes/elementor-widgets/property-image.php (modified) (1 diff)
-
includes/ph-form-functions.php (modified) (3 diffs)
-
propertyhive.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
propertyhive/trunk/README.txt
r3365891 r3367847 4 4 Requires at least: 5.6 5 5 Tested up to: 6.8.2 6 Stable tag: 2.1. 86 Stable tag: 2.1.9 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 182 182 183 183 == Changelog == 184 185 = 2.1.9 - 2025-09-25 = 186 * Added 'blank_option' attribute to office form field so the default 'No Preference' option can be customised 187 * Run image URL through esc_url() in Elementor Image widget 188 * Corrected issue with menu returning a 404 for certain menu items when 'Property Hive Only Mode' mode is enabled 184 189 185 190 = 2.1.8 - 2025-09-22 = -
propertyhive/trunk/includes/admin/class-ph-admin-menus.php
r3365891 r3367847 145 145 } 146 146 } 147 147 148 if ( class_exists($class_name) && $class_name != '' && $function_name != '' ) 149 { 150 $callback = array( $class_name(), $function_name ); 151 } 152 elseif ( function_exists($class_name) && $class_name != '' && $function_name != '' ) 148 153 { 149 154 $callback = array( $class_name(), $function_name ); -
propertyhive/trunk/includes/elementor-widgets/property-image.php
r3292381 r3367847 150 150 if ( ! empty( $settings['image_link']['url'] ) ) 151 151 { 152 echo '<div style="background:url(' . $url. ') no-repeat center center; background-size:cover;">';152 echo '<div style="background:url(' . esc_url($url) . ') no-repeat center center; background-size:cover;">'; 153 153 $this->add_link_attributes( 'image_link', $settings['image_link'] ); 154 154 ?><a <?php $this->print_render_attribute_string( 'image_link' ); ?> style="display:block; <?php echo 'padding-bottom:' . esc_attr($percent); ?>"><?php -
propertyhive/trunk/includes/ph-form-functions.php
r3357837 r3367847 1111 1111 $field['show_label'] = isset( $field['show_label'] ) ? $field['show_label'] : true; 1112 1112 $field['label'] = isset( $field['label'] ) ? $field['label'] : ''; 1113 $field['blank_option'] = isset( $field['blank_option'] ) ? __( $field['blank_option'], 'propertyhive' ) : __( 'No preference', 'propertyhive' ); 1113 1114 $field['multiselect'] = isset( $field['multiselect'] ) ? $field['multiselect'] : false; 1114 1115 … … 1136 1137 class="' . esc_attr( $field['class'] ) . ( $field['multiselect'] ? ' ph-form-multiselect' : '' ) . '" 1137 1138 ' . ( $field['multiselect'] ? ' multiple="multiple"' : '' ) . ' 1138 data-blank-option="' . esc_attr( __( 'No preference', 'propertyhive' )) . '"1139 data-blank-option="' . esc_attr( $field['blank_option'] ) . '" 1139 1140 >'; 1140 1141 … … 1144 1145 value="" 1145 1146 ' . selected( esc_attr( $field['value'] ), esc_attr( '' ), false ) . ' 1146 >' . esc_html( __( 'No preference', 'propertyhive' )) . '</option>';1147 >' . esc_html( $field['blank_option'] ) . '</option>'; 1147 1148 } 1148 1149 -
propertyhive/trunk/propertyhive.php
r3365891 r3367847 4 4 * Plugin URI: https://wordpress.org/plugins/propertyhive/ 5 5 * Description: Property Hive has everything you need to build estate agency websites 6 * Version: 2.1. 86 * Version: 2.1.9 7 7 * Author: PropertyHive 8 8 * Author URI: https://wp-property-hive.com … … 28 28 * 29 29 * @class PropertyHive 30 * @version 2.1. 830 * @version 2.1.9 31 31 */ 32 32 final class PropertyHive { … … 35 35 * @var string 36 36 */ 37 public $version = '2.1. 8';37 public $version = '2.1.9'; 38 38 39 39 /**
Note: See TracChangeset
for help on using the changeset viewer.