From 4c37ede823d6965b2b90bf3ff654d4fbc1609f5c Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Thu, 25 Jan 2024 21:08:00 +0530 Subject: [PATCH 1/5] Setting changed for Borlabs Cookie v3 - CHANGED --- includes/class-geodir-compatibility.php | 12 ++++++++++-- readme.txt | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/includes/class-geodir-compatibility.php b/includes/class-geodir-compatibility.php index 4d508b70..33b1b444 100644 --- a/includes/class-geodir-compatibility.php +++ b/includes/class-geodir-compatibility.php @@ -2091,7 +2091,7 @@ public static function template_redirect() { } // Borlabs Cookie Integration - if ( defined( 'BORLABS_COOKIE_VERSION' ) && ! is_admin() && geodir_get_option( 'borlabs_cookie' ) ) { + if ( defined( 'BORLABS_COOKIE_VERSION' ) && version_compare( BORLABS_COOKIE_VERSION, '3.0', '<' ) && ! is_admin() && geodir_get_option( 'borlabs_cookie' ) ) { add_filter( 'geodir_lazy_load_map', array( __CLASS__, 'borlabs_cookie_setup' ), 999, 1 ); add_filter( 'wp_super_duper_widget_output', array( __CLASS__, 'borlabs_cookie_wrap' ), 999, 4 ); } @@ -4038,7 +4038,7 @@ public static function borlabs_cookie_setting( $settings ) { $_settings[] = $setting; if ( ! empty( $setting['id'] ) && $setting['id'] == 'map_cache' ) { - $_settings[] = array( + $_setting = array( 'name' => __( 'Borlabs Cookie Integration', 'geodirectory'), 'desc' => __( 'Enable Borlabs Cookie integration for GeoDirectory maps.', 'geodirectory' ), 'id' => 'borlabs_cookie', @@ -4047,6 +4047,14 @@ public static function borlabs_cookie_setting( $settings ) { 'desc_tip' => false, 'advanced' => true ); + + if ( defined( 'BORLABS_COOKIE_VERSION' ) && version_compare( BORLABS_COOKIE_VERSION, '3.0', '>=' ) ) { + $_setting['desc'] = __( 'NOTE: Go to Borlabs Cookie > Settings to enable Borlabs Cookie integration for GeoDirectory maps.', 'geodirectory' ); + $_setting['custom_attributes'] = array( + 'disabled' => 'disabled' + ); + } + $_settings[] = $_setting; } } diff --git a/readme.txt b/readme.txt index 276d1182..f851e84f 100644 --- a/readme.txt +++ b/readme.txt @@ -311,6 +311,7 @@ __WARNING: GDv2 is a significant update over GDv1 and may require manual work, s * Edit logo image title is not working on Chrome browser - FIXED * PHP Deprecated: mb_convert_encoding() - FIXED * Astra theme conflicts on search page - FIXED +* Setting changed for Borlabs Cookie v3 - CHANGED = GeoDirectory v2.3.36 - 2024-01-09 = * GD > Categories category text style not working for image design type - FIXED From 34b0ca8335113455990d8f851483c2057656c063 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Thu, 25 Jan 2024 21:13:36 +0530 Subject: [PATCH 2/5] Push SD --- vendor/ayecode/wp-super-duper/change-log.txt | 3 +++ vendor/ayecode/wp-super-duper/wp-super-duper.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vendor/ayecode/wp-super-duper/change-log.txt b/vendor/ayecode/wp-super-duper/change-log.txt index 7bec4c41..1ecf9696 100644 --- a/vendor/ayecode/wp-super-duper/change-log.txt +++ b/vendor/ayecode/wp-super-duper/change-log.txt @@ -1,3 +1,6 @@ += 1.1.33 - 2024-01-25 = +* Escape new line characters from option label - FIXED + = 1.1.32 - 2023-12-14 = * Update textdomain - CHANGED * Escape placeholder t o prevent JS error - FIXED diff --git a/vendor/ayecode/wp-super-duper/wp-super-duper.php b/vendor/ayecode/wp-super-duper/wp-super-duper.php index fcd08469..7dda0e74 100755 --- a/vendor/ayecode/wp-super-duper/wp-super-duper.php +++ b/vendor/ayecode/wp-super-duper/wp-super-duper.php @@ -5,7 +5,7 @@ if ( ! class_exists( 'WP_Super_Duper' ) ) { - define( 'SUPER_DUPER_VER', '1.1.32' ); + define( 'SUPER_DUPER_VER', '1.1.33' ); /** * A Class to be able to create a Widget, Shortcode or Block to be able to output content for WordPress. @@ -3743,7 +3743,7 @@ className: 'components-button components-circular-option-picker__clear is-second if ( ! empty( $args['options'] ) ) { $options .= "options: ["; foreach ( $args['options'] as $option_val => $option_label ) { - $options .= "{ value: '" . esc_attr( $option_val ) . "', label: '" . addslashes( $option_label ) . "' },"; + $options .= "{ value: '" . esc_attr( $option_val ) . "', label: '" . esc_js( addslashes( $option_label ) ) . "' },"; } $options .= "],"; } From 782fcc8f6099af17127ae1b454119d98d5f5ae57 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Thu, 25 Jan 2024 21:18:00 +0530 Subject: [PATCH 3/5] Push AUI --- .../wp-ayecode-ui/ayecode-ui-loader.php | 2 +- vendor/ayecode/wp-ayecode-ui/change-log.txt | 4 + .../includes/ayecode-ui-settings.php | 134 +++++++++++- .../components/class-aui-component-input.php | 4 +- .../wp-ayecode-ui/includes/inc/bs5-js.php | 190 +++++++++++++++++- 5 files changed, 318 insertions(+), 16 deletions(-) diff --git a/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php b/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php index 99560cfd..9fdedc77 100644 --- a/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php +++ b/vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php @@ -15,7 +15,7 @@ */ add_action('after_setup_theme', function () { global $ayecode_ui_version,$ayecode_ui_file_key; - $this_version = "0.2.4"; + $this_version = "0.2.6"; if(empty($ayecode_ui_version) || version_compare($this_version , $ayecode_ui_version, '>')){ $ayecode_ui_version = $this_version ; $ayecode_ui_file_key = wp_hash( __FILE__ ); diff --git a/vendor/ayecode/wp-ayecode-ui/change-log.txt b/vendor/ayecode/wp-ayecode-ui/change-log.txt index adcc3814..9c0a4dbf 100644 --- a/vendor/ayecode/wp-ayecode-ui/change-log.txt +++ b/vendor/ayecode/wp-ayecode-ui/change-log.txt @@ -1,3 +1,7 @@ += 0.2.6 - 2024-01-25 = +* Single quote breaks validation message - FIXED +* WP Editor Styles can now style headings, links, typography - ADDED + = 0.2.5 - 2023-12-14 = * Update textdomain - CHANGED * Inline CSS breaks p element in block editor - FIXED diff --git a/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php b/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php index ffd5a9bc..f89040a8 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php @@ -35,7 +35,7 @@ class AyeCode_UI_Settings { * * @var string */ - public $version = '0.2.5'; + public $version = '0.2.6'; /** * Class textdomain. @@ -1097,15 +1097,15 @@ public static function custom_css($compatibility = true) { echo self::bs3_compat_css(); } + $current_screen = function_exists('get_current_screen' ) ? get_current_screen() : ''; + $is_fse = false; + if ( is_admin() && ( !empty($_REQUEST['postType']) || $current_screen->is_block_editor() ) && ( defined( 'BLOCKSTRAP_VERSION' ) || defined( 'AUI_FSE' ) ) ) { + $is_fse = true; + } + if(!empty($colors)){ $d_colors = self::get_colors(true); - $current_screen = function_exists('get_current_screen' ) ? get_current_screen() : ''; - $is_fse = false; - if ( is_admin() && ( !empty($_REQUEST['postType']) || $current_screen->is_block_editor() ) && ( defined( 'BLOCKSTRAP_VERSION' ) || defined( 'AUI_FSE' ) ) ) { - $is_fse = true; - } - // $is_fse = !empty($_REQUEST['postType']) && $_REQUEST['postType']=='wp_template'; foreach($colors as $key => $color ){ if((empty( $d_colors[$key]) || $d_colors[$key] != $color) || $is_fse ) { @@ -1124,10 +1124,12 @@ public static function custom_css($compatibility = true) { echo ' body.modal-open #adminmenuwrap{z-index:999} body.modal-open #wpadminbar{z-index:1025}'; } - if( $aui_bs5 && defined( 'BLOCKSTRAP_VERSION' ) ){ + if( $aui_bs5 && defined( 'BLOCKSTRAP_VERSION' ) ){ $css = ''; $theme_settings = wp_get_global_styles(); +// print_r( $theme_settings);exit; + // font face if( !empty( $theme_settings['typography']['fontFamily'] ) ){ $t_fontface = str_replace( array('var:preset|','font-family|'), array('--wp--preset--','font-family--'), $theme_settings['typography']['fontFamily'] ); //var(--wp--preset--font-family--poppins) @@ -1135,12 +1137,106 @@ public static function custom_css($compatibility = true) { } // font size - $css .= '--bs-body-font-size: var(--wp--preset--font-size--small);'; + if( !empty( $theme_settings['typography']['fontSize'] ) ){ + $css .= '--bs-body-font-size: ' . esc_attr( $theme_settings['typography']['fontSize'] ) . ' ;'; + } + + // line height + if( !empty( $theme_settings['typography']['lineHeight'] ) ){ + $css .= '--bs-body-line-height: ' . esc_attr( $theme_settings['typography']['lineHeight'] ) . ';'; + } + + + // font weight + if( !empty( $theme_settings['typography']['fontWeight'] ) ){ + $css .= '--bs-body-font-weight: ' . esc_attr( $theme_settings['typography']['fontWeight'] ) . ';'; + } + + // Background + if( !empty( $theme_settings['color']['background'] ) ){ + $css .= '--bs-body-bg: ' . esc_attr( $theme_settings['color']['background'] ) . ';'; + } + + // Background Gradient + if( !empty( $theme_settings['color']['gradient'] ) ){ + $css .= 'background: ' . esc_attr( $theme_settings['color']['gradient'] ) . ';'; + } + + // Background Gradient + if( !empty( $theme_settings['color']['gradient'] ) ){ + $css .= 'background: ' . esc_attr( $theme_settings['color']['gradient'] ) . ';'; + } + + // text color + if( !empty( $theme_settings['color']['text'] ) ){ + $css .= '--bs-body-color: ' . esc_attr( $theme_settings['color']['text'] ) . ';'; + } + + + // link colors + if( !empty( $theme_settings['elements']['link']['color']['text'] ) ){ + $css .= '--bs-link-color: ' . esc_attr( $theme_settings['elements']['link']['color']['text'] ) . ';'; + } + if( !empty( $theme_settings['elements']['link'][':hover']['color']['text'] ) ){ + $css .= '--bs-link-hover-color: ' . esc_attr( $theme_settings['elements']['link'][':hover']['color']['text'] ) . ';'; + } + if($css){ - echo 'body{' . $css . '}'; + echo $is_fse ? 'body.editor-styles-wrapper{' . $css . '}' : 'body{' . $css . '}'; } + + $bep = $is_fse ? 'body.editor-styles-wrapper ' : ''; + + + // Headings + $headings_css = ''; + if( !empty( $theme_settings['elements']['heading']['color']['text'] ) ){ + $headings_css .= "color: " . esc_attr( $theme_settings['elements']['heading']['color']['text'] ) . ";"; + } + + // heading background + if( !empty( $theme_settings['elements']['heading']['color']['background'] ) ){ + $headings_css .= 'background: ' . esc_attr( $theme_settings['elements']['heading']['color']['background'] ) . ';'; + } + + // heading font family + if( !empty( $theme_settings['elements']['heading']['typography']['fontFamily'] ) ){ + $headings_css .= 'font-family: ' . esc_attr( $theme_settings['elements']['heading']['typography']['fontFamily'] ) . ';'; + } + + if( $headings_css ){ + echo "$bep h1,$bep h2,$bep h3, $bep h4,$bep h5,$bep h6{ " . $headings_css . "}"; + } + + $hs = array('h1','h2','h3','h4','h5','h6'); + + foreach($hs as $hn){ + $h_css = ''; + if( !empty( $theme_settings['elements'][$hn]['color']['text'] ) ){ + $h_css .= 'color: ' . esc_attr( $theme_settings['elements'][$hn]['color']['text'] ) . ';'; + } + + if( !empty( $theme_settings['elements'][$hn]['typography']['fontSize'] ) ){ + $h_css .= 'font-size: ' . esc_attr( $theme_settings['elements'][$hn]['typography']['fontSize'] ) . ';'; + } + + if( !empty( $theme_settings['elements'][$hn]['typography']['fontFamily'] ) ){ + $h_css .= 'font-family: ' . esc_attr( $theme_settings['elements'][$hn]['typography']['fontFamily'] ) . ';'; + } + + if($h_css){ + echo $bep . $hn . '{'.$h_css.'}'; + } + } + +// wp_mail('x@x.com','ss',print_r($_SERVER,true).'@@@'); +// print_r($_SERVER);exit; + + + + } ?> @@ -2634,9 +2730,25 @@ function aui_cf_field_apply_rules($el) { $keys[condition.key][index] = false; } } else if (condition.condition === 'contains') { + var avalues = condition.value; + if (!Array.isArray(avalues)) { + if (jQuery.isNumeric(avalues)) { + avalues = [avalues]; + } else { + avalues = avalues.split(","); + } + } switch (field_type) { case 'multiselect': - if (current_value && ((!Array.isArray(current_value) && current_value.indexOf(condition.value) >= 0) || (Array.isArray(current_value) && aui_cf_field_in_array(condition.value, current_value)))) { + var found = false; + for (var key in avalues) { + var svalue = jQuery.isNumeric(avalues[key]) ? avalues[key] : (avalues[key]).trim(); + if (!found && current_value && ((!Array.isArray(current_value) && current_value.indexOf(svalue) >= 0) || (Array.isArray(current_value) && aui_cf_field_in_array(svalue, current_value)))) { + found = true; + } + } + + if (found) { $keys[condition.key][index] = true; } else { $keys[condition.key][index] = false; diff --git a/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-input.php b/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-input.php index 564e7a40..31122d48 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-input.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/components/class-aui-component-input.php @@ -199,7 +199,7 @@ public static function input( $args = array() ) { // validation text if ( ! empty( $args['validation_text'] ) ) { - $output .= ' oninvalid="setCustomValidity(\'' . esc_attr( $args['validation_text'] ) . '\')" '; + $output .= ' oninvalid="setCustomValidity(\'' . esc_attr( addslashes( $args['validation_text'] ) ) . '\')" '; $output .= ' onchange="try{setCustomValidity(\'\')}catch(e){}" '; } @@ -660,7 +660,7 @@ public static function textarea( $args = array() ) { // validation text if ( ! empty( $args['validation_text'] ) ) { - $output .= ' oninvalid="setCustomValidity(\'' . esc_attr( $args['validation_text'] ) . '\')" '; + $output .= ' oninvalid="setCustomValidity(\'' . esc_attr( addslashes( $args['validation_text'] ) ) . '\')" '; $output .= ' onchange="try{setCustomValidity(\'\')}catch(e){}" '; } diff --git a/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php b/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php index 0f190bbd..bc412fc4 100644 --- a/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php +++ b/vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php @@ -1002,7 +1002,7 @@ function aui_set_data_scroll(){ + if(!empty($_REQUEST['postType'])){ ?> function aui_fse_set_data_scroll() { console.log('init scroll'); let Iframe = document.getElementsByClassName("edit-site-visual-editor__editor-canvas"); @@ -1049,6 +1049,7 @@ function aui_fse_hexToRgb(hex) { * @param $color */ function aui_fse_sync_site_colors($color){ + const getColorHex = () => { const element = jQuery(".edit-site-visual-editor__editor-canvas").contents().find(".editor-styles-wrapper").get(0); const style = element == null ? '' : window.getComputedStyle(element).getPropertyValue('--wp--preset--color--'+$color); @@ -1058,6 +1059,7 @@ function aui_fse_sync_site_colors($color){ // set the initial ColorHex let colorHex = getColorHex(); + wp.data.subscribe(() => { // get the current ColorHex @@ -1070,15 +1072,199 @@ function aui_fse_sync_site_colors($color){ // update the newColorHex variable. colorHex = newColorHex; + + }); + } + + /** + * update colors as the style colour pallet is changed + * @param $color + */ + function aui_fse_sync_site_typography(){ + // const select = wp.data.select('core/edit-site').getSettings(); + // const select = wp.data.select('core/edit-site'); + // console.log(select); + + + // console.log(settings.styles[3].css); + + const getGlobalStyles = () => { + const { select } = wp.data; + const settings = select('core/block-editor').getSettings(); + // console.log(settings); + return settings.styles[3].css ? settings.styles[3].css : null; + + }; + + // set the initial styles + let Styles = getGlobalStyles(); + + // console.log('#####'+colorHex); + + wp.data.subscribe(() => { + + // console.log(wp.data); + + // get the current styles + const newStyles = getGlobalStyles(); + + // console.log(newStyles); + + // only do something if newStyles has changed. + if( newStyles && Styles !== newStyles ) { + + + // heading sizes + aui_updateCssRule('body.editor-styles-wrapper h1', 'font-size', aui_parseCSS(newStyles, 'h1', 'font-size')); + aui_updateCssRule('body.editor-styles-wrapper h2', 'font-size', aui_parseCSS(newStyles, 'h2', 'font-size')); + aui_updateCssRule('body.editor-styles-wrapper h3', 'font-size', aui_parseCSS(newStyles, 'h3', 'font-size')); + aui_updateCssRule('body.editor-styles-wrapper h4', 'font-size', aui_parseCSS(newStyles, 'h4', 'font-size')); + aui_updateCssRule('body.editor-styles-wrapper h5', 'font-size', aui_parseCSS(newStyles, 'h5', 'font-size')); + aui_updateCssRule('body.editor-styles-wrapper h6', 'font-size', aui_parseCSS(newStyles, 'h6', 'font-size')); + + // ALl Headings + aui_updateCssRule('body.editor-styles-wrapper h1, body.editor-styles-wrapper h2, body.editor-styles-wrapper h3, body.editor-styles-wrapper h4, body.editor-styles-wrapper h5, body.editor-styles-wrapper h6', 'font-family', aui_parseCSS(newStyles, 'h1, h2, h3, h4, h5, h6', 'font-family')); + + // individual headings + aui_updateCssRule('body.editor-styles-wrapper h1', 'font-family', aui_parseCSS(newStyles, 'h1{', 'font-family')); + aui_updateCssRule('body.editor-styles-wrapper h2', 'font-family', aui_parseCSS(newStyles, 'h2{', 'font-family')); + aui_updateCssRule('body.editor-styles-wrapper h3', 'font-family', aui_parseCSS(newStyles, 'h3{', 'font-family')); + aui_updateCssRule('body.editor-styles-wrapper h4', 'font-family', aui_parseCSS(newStyles, 'h4{', 'font-family')); + aui_updateCssRule('body.editor-styles-wrapper h5', 'font-family', aui_parseCSS(newStyles, 'h5{', 'font-family')); + aui_updateCssRule('body.editor-styles-wrapper h6', 'font-family', aui_parseCSS(newStyles, 'h6{', 'font-family')); + + // console.log(aui_parseCSS(newStyles, 'h2{', 'font-family')); + + // color + aui_updateCssRule('body.editor-styles-wrapper h1, body.editor-styles-wrapper h2, body.editor-styles-wrapper h3, body.editor-styles-wrapper h4, body.editor-styles-wrapper h5, body.editor-styles-wrapper h6', 'color', aui_parseCSS(newStyles, 'h1, h2, h3, h4, h5, h6', 'color')); + + aui_updateCssRule('body.editor-styles-wrapper h1', 'color', aui_parseCSS(newStyles, 'h1{', 'color')); + aui_updateCssRule('body.editor-styles-wrapper h2', 'color', aui_parseCSS(newStyles, 'h2{', 'color')); + aui_updateCssRule('body.editor-styles-wrapper h3', 'color', aui_parseCSS(newStyles, 'h3{', 'color')); + aui_updateCssRule('body.editor-styles-wrapper h4', 'color', aui_parseCSS(newStyles, 'h4{', 'color')); + aui_updateCssRule('body.editor-styles-wrapper h5', 'color', aui_parseCSS(newStyles, 'h5{', 'color')); + aui_updateCssRule('body.editor-styles-wrapper h6', 'color', aui_parseCSS(newStyles, 'h6{', 'color')); + + + + //background + aui_updateCssRule('body.editor-styles-wrapper h1, body.editor-styles-wrapper h2, body.editor-styles-wrapper h3, body.editor-styles-wrapper h4, body.editor-styles-wrapper h5, body.editor-styles-wrapper h6', 'background', aui_parseCSS(newStyles, 'h1, h2, h3, h4, h5, h6', 'background')); + + aui_updateCssRule('body.editor-styles-wrapper h1', 'background', aui_parseCSS(newStyles, 'h1{', 'background')); + aui_updateCssRule('body.editor-styles-wrapper h2', 'background', aui_parseCSS(newStyles, 'h2{', 'background')); + aui_updateCssRule('body.editor-styles-wrapper h3', 'background', aui_parseCSS(newStyles, 'h3{', 'background')); + aui_updateCssRule('body.editor-styles-wrapper h4', 'background', aui_parseCSS(newStyles, 'h4{', 'background')); + aui_updateCssRule('body.editor-styles-wrapper h5', 'background', aui_parseCSS(newStyles, 'h5{', 'background')); + aui_updateCssRule('body.editor-styles-wrapper h6', 'background', aui_parseCSS(newStyles, 'h6{', 'background')); + + + + // console.log('Font size of h2 is:', fontSize); + } + + // update the newStyles variable. + Styles = newStyles; + + }); } setTimeout(function(){ + aui_sync_admin_styles(); + }, 10000); + + function aui_sync_admin_styles(){ aui_fse_sync_site_colors('primary'); aui_fse_sync_site_colors('danger'); aui_fse_sync_site_colors('warning'); aui_fse_sync_site_colors('info'); - }, 10000); + aui_fse_sync_site_typography(); + } + + // setTimeout(function(){ + // aui_listen_global_style_click(); + // }, 3000); + // + // function aui_listen_global_style_click(){ + // setTimeout(function(){ + // // check for global stylebook clicks + // jQuery('.interface-pinned-items button').click(function() { + // aui_listen_stylebook_click(); + // }); + // }, 500); + // } + // + // + // + // function aui_listen_stylebook_click(){ + // setTimeout(function(){ + // // check for global stylebook clicks + // jQuery('.edit-site-global-styles-sidebar__header .components-button.has-icon').click(function() { + // setTimeout(function(){ + // aui_sync_admin_styles(); + // }, 500); + // }); + // }, 500); + // } + + + + + function aui_parseCSS(cssString, selector, property) { + // Split the CSS string on closing braces + const rules = cssString.split('}'); + + // Search for the selector and property + for (let rule of rules) { + if (rule.includes(selector) && rule.includes(property)) { + // Extract the rule's content + const ruleContent = rule.split('{')[1]; + + // Split properties and search for the desired property + const properties = ruleContent.split(';'); + for (let prop of properties) { + if (prop.includes(property)) { + // Extract and return the property value + return prop.split(':')[1].trim(); + } + } + } + } + + return null; + } + + // Function to update a CSS rule + function aui_updateCssRule(selector, property, value) { + // check fi we are viewing stylebook + + var aui_inline_css = jQuery(".edit-site-visual-editor__editor-canvas").contents().find("#ayecode-ui-fse-inline-css").get(0); + var aui_inline_css_stylebook = jQuery(".edit-site-style-book__iframe").contents().find("#ayecode-ui-fse-inline-css").get(0); + + if (aui_inline_css && aui_inline_css.sheet) { + var styleSheet = aui_inline_css.sheet; + }else if(aui_inline_css_stylebook && aui_inline_css_stylebook.sheet){ + var styleSheet = aui_inline_css_stylebook.sheet; + }else{ + return; + } + + var rules = styleSheet.cssRules || styleSheet.rules; + + // console.log(rules); + + for (var i = 0; i < rules.length; i++) { + if (rules[i].selectorText === selector) { + rules[i].style[property] = value; + // console.log('update rule'); + return; // Exit the function once the rule is found and updated + } + } + + // If the rule doesn't exist, optionally add it + styleSheet.insertRule(`${selector} { ${property}: ${value}; }`, rules.length); + // console.log(`insert rule ${selector}`); + } From 18ece4d3f5f89b1c398e041414f8fa9101b00875 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Thu, 25 Jan 2024 21:34:36 +0530 Subject: [PATCH 4/5] Merge SD & AUI --- vendor/composer/installed.json | 24 ++++++++++++------------ vendor/composer/installed.php | 12 ++++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index b3c67d7d..9b1fe6f9 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -55,20 +55,20 @@ }, { "name": "ayecode/wp-ayecode-ui", - "version": "0.2.5", - "version_normalized": "0.2.5.0", + "version": "0.2.6", + "version_normalized": "0.2.6.0", "source": { "type": "git", "url": "https://github.com/AyeCode/wp-ayecode-ui.git", - "reference": "f63bd3018087aa4ed9af1494d76b50667cda0648" + "reference": "023e7750dab3a6fa212cdfef701c7a6f3e48d269" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/f63bd3018087aa4ed9af1494d76b50667cda0648", - "reference": "f63bd3018087aa4ed9af1494d76b50667cda0648", + "url": "https://api.github.com/repos/AyeCode/wp-ayecode-ui/zipball/023e7750dab3a6fa212cdfef701c7a6f3e48d269", + "reference": "023e7750dab3a6fa212cdfef701c7a6f3e48d269", "shasum": "" }, - "time": "2023-12-14T17:09:04+00:00", + "time": "2024-01-24T17:06:14+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -246,24 +246,24 @@ }, { "name": "ayecode/wp-super-duper", - "version": "1.1.32", - "version_normalized": "1.1.32.0", + "version": "1.1.33", + "version_normalized": "1.1.33.0", "source": { "type": "git", "url": "https://github.com/AyeCode/wp-super-duper.git", - "reference": "52a6c4a6836f417462136d4661900d4c4aaaf1b8" + "reference": "9a19aa2c4a2a548c4820b631b696856b2c9d4382" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/52a6c4a6836f417462136d4661900d4c4aaaf1b8", - "reference": "52a6c4a6836f417462136d4661900d4c4aaaf1b8", + "url": "https://api.github.com/repos/AyeCode/wp-super-duper/zipball/9a19aa2c4a2a548c4820b631b696856b2c9d4382", + "reference": "9a19aa2c4a2a548c4820b631b696856b2c9d4382", "shasum": "" }, "require": { "composer/installers": "~1.0", "php": ">=5.3.0" }, - "time": "2023-12-14T17:01:11+00:00", + "time": "2024-01-24T17:02:51+00:00", "type": "library", "installation-source": "dist", "autoload": { diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 67bd6740..dc423786 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -29,12 +29,12 @@ 'dev_requirement' => false, ), 'ayecode/wp-ayecode-ui' => array( - 'pretty_version' => '0.2.5', - 'version' => '0.2.5.0', + 'pretty_version' => '0.2.6', + 'version' => '0.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ayecode/wp-ayecode-ui', 'aliases' => array(), - 'reference' => 'f63bd3018087aa4ed9af1494d76b50667cda0648', + 'reference' => '023e7750dab3a6fa212cdfef701c7a6f3e48d269', 'dev_requirement' => false, ), 'ayecode/wp-country-database' => array( @@ -65,12 +65,12 @@ 'dev_requirement' => false, ), 'ayecode/wp-super-duper' => array( - 'pretty_version' => '1.1.32', - 'version' => '1.1.32.0', + 'pretty_version' => '1.1.33', + 'version' => '1.1.33.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ayecode/wp-super-duper', 'aliases' => array(), - 'reference' => '52a6c4a6836f417462136d4661900d4c4aaaf1b8', + 'reference' => '9a19aa2c4a2a548c4820b631b696856b2c9d4382', 'dev_requirement' => false, ), 'composer/installers' => array( From f4f73a5f2213ae19d8fd3568c1cb3d27da695542 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Thu, 25 Jan 2024 21:45:54 +0530 Subject: [PATCH 5/5] 2.3.37 --- geodirectory.php | 4 +- languages/geodirectory-en_US.mo | Bin 1015 -> 1015 bytes languages/geodirectory-en_US.po | 208 ++++++++++++++++---------------- readme.txt | 4 +- 4 files changed, 111 insertions(+), 105 deletions(-) diff --git a/geodirectory.php b/geodirectory.php index 0c16622a..cfd19949 100644 --- a/geodirectory.php +++ b/geodirectory.php @@ -11,7 +11,7 @@ * Plugin Name: GeoDirectory * Plugin URI: https://wpgeodirectory.com/ * Description: GeoDirectory - Business Directory Plugin for WordPress. - * Version: 2.3.36 + * Version: 2.3.37 * Author: AyeCode - WordPress Business Directory Plugins * Author URI: https://wpgeodirectory.com * Text Domain: geodirectory @@ -34,7 +34,7 @@ final class GeoDirectory { * * @var string */ - public $version = '2.3.36'; + public $version = '2.3.37'; /** * GeoDirectory instance. diff --git a/languages/geodirectory-en_US.mo b/languages/geodirectory-en_US.mo index a1fd76e39d299aa844cfec1870d96d17321bbd78..f2d15d3d2e6909aac4538d8b7f69ee0d9abe7371 100644 GIT binary patch delta 24 fcmey){+)e7Jfr!<1S1Y3Qw1YKD\n" "Language: en_US\n" @@ -2703,18 +2703,18 @@ msgstr "" msgid "Generate Key" msgstr "" -#: includes/admin/class-geodir-admin-settings.php:1451 +#: includes/admin/class-geodir-admin-settings.php:1449 #: includes/admin/class-geodir-admin-taxonomies.php:560 #: includes/admin/views/html-admin-settings-cpt-cf-setting-item.php:619 #: includes/admin/views/html-admin-settings-cpt-tab-item.php:42 msgid "For pro icon variants (light, thin, duotone), paste the class here" msgstr "" -#: includes/admin/class-geodir-admin-settings.php:1587 +#: includes/admin/class-geodir-admin-settings.php:1591 msgid "Choose a city/timezone…" msgstr "" -#: includes/admin/class-geodir-admin-settings.php:1648 +#: includes/admin/class-geodir-admin-settings.php:1652 #: includes/admin/views/html-notice-v2-update.php:194 #: includes/core-functions.php:361 includes/general-functions.php:2682 #: vendor/ayecode/wp-deactivation-survey/wp-deactivation-survey.php:69 @@ -10459,85 +10459,85 @@ msgstr "" #: includes/business-hours-functions.php:29 includes/general-functions.php:229 #: includes/helper-functions.php:637 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2168 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2264 msgid "Monday" msgstr "" #: includes/business-hours-functions.php:30 includes/general-functions.php:230 #: includes/helper-functions.php:638 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2169 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2265 msgid "Tuesday" msgstr "" #: includes/business-hours-functions.php:31 includes/general-functions.php:231 #: includes/helper-functions.php:639 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2170 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2266 msgid "Wednesday" msgstr "" #: includes/business-hours-functions.php:32 includes/general-functions.php:232 #: includes/helper-functions.php:640 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2171 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2267 msgid "Thursday" msgstr "" #: includes/business-hours-functions.php:33 includes/general-functions.php:233 #: includes/helper-functions.php:641 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2172 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2268 msgid "Friday" msgstr "" #: includes/business-hours-functions.php:34 includes/general-functions.php:234 #: includes/helper-functions.php:642 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2173 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2269 msgid "Saturday" msgstr "" #: includes/business-hours-functions.php:35 includes/general-functions.php:228 #: includes/helper-functions.php:636 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2167 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2263 msgid "Sunday" msgstr "" #: includes/business-hours-functions.php:62 #: includes/business-hours-functions.php:2046 includes/helper-functions.php:674 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2161 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2257 msgid "Mon" msgstr "" #: includes/business-hours-functions.php:63 #: includes/business-hours-functions.php:2047 includes/helper-functions.php:675 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2162 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2258 msgid "Tue" msgstr "" #: includes/business-hours-functions.php:64 #: includes/business-hours-functions.php:2048 includes/helper-functions.php:676 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2163 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2259 msgid "Wed" msgstr "" #: includes/business-hours-functions.php:65 #: includes/business-hours-functions.php:2049 includes/helper-functions.php:677 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2164 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2260 msgid "Thu" msgstr "" #: includes/business-hours-functions.php:66 #: includes/business-hours-functions.php:2050 includes/helper-functions.php:678 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2165 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2261 msgid "Fri" msgstr "" #: includes/business-hours-functions.php:67 #: includes/business-hours-functions.php:2051 includes/helper-functions.php:679 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2166 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2262 msgid "Sat" msgstr "" #: includes/business-hours-functions.php:68 #: includes/business-hours-functions.php:2052 includes/helper-functions.php:673 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2160 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2256 msgid "Sun" msgstr "" @@ -11194,37 +11194,43 @@ msgid "" "href=\"%s\">Edit page" msgstr "" -#: includes/class-geodir-compatibility.php:3087 +#: includes/class-geodir-compatibility.php:3091 msgid "Select Themer Layout" msgstr "" -#: includes/class-geodir-compatibility.php:3098 +#: includes/class-geodir-compatibility.php:3102 msgid "Beaver Builder Settings" msgstr "" -#: includes/class-geodir-compatibility.php:3105 +#: includes/class-geodir-compatibility.php:3109 msgid "Search Page Themer Layout" msgstr "" -#: includes/class-geodir-compatibility.php:3106 +#: includes/class-geodir-compatibility.php:3110 msgid "" "To use themer layout for GD search page, create a layout with blank location " "under Beaver Builder > Themer Layouts > Add New > Archive Layout." msgstr "" -#: includes/class-geodir-compatibility.php:3811 +#: includes/class-geodir-compatibility.php:3815 msgid "GD Search Results" msgstr "" -#: includes/class-geodir-compatibility.php:4038 +#: includes/class-geodir-compatibility.php:4042 msgid "Borlabs Cookie Integration" msgstr "" -#: includes/class-geodir-compatibility.php:4039 +#: includes/class-geodir-compatibility.php:4043 msgid "Enable Borlabs Cookie integration for GeoDirectory maps." msgstr "" -#: includes/class-geodir-compatibility.php:4165 +#: includes/class-geodir-compatibility.php:4052 +msgid "" +"NOTE: Go to Borlabs Cookie > Settings to enable Borlabs Cookie integration " +"for GeoDirectory maps." +msgstr "" + +#: includes/class-geodir-compatibility.php:4177 #, php-format msgid "" "Divi Users: Please check this %sdocumentation%s to setup GeoDirectory pages " @@ -11607,66 +11613,66 @@ msgid "Remove from Favorites" msgstr "" #: includes/class-geodir-frontend-scripts.php:891 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2284 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2380 msgid "Select an option…" msgstr "" #: includes/class-geodir-frontend-scripts.php:892 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2285 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2381 msgctxt "enhanced select" msgid "No matches found" msgstr "" #: includes/class-geodir-frontend-scripts.php:893 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2286 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2382 msgctxt "enhanced select" msgid "Loading failed" msgstr "" #: includes/class-geodir-frontend-scripts.php:894 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2287 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2383 msgctxt "enhanced select" msgid "Please enter 1 or more characters" msgstr "" #: includes/class-geodir-frontend-scripts.php:895 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2288 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2384 msgctxt "enhanced select" msgid "Please enter %item% or more characters" msgstr "" #: includes/class-geodir-frontend-scripts.php:896 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2289 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2385 msgctxt "enhanced select" msgid "Please delete 1 character" msgstr "" #: includes/class-geodir-frontend-scripts.php:897 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2290 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2386 msgctxt "enhanced select" msgid "Please delete %item% characters" msgstr "" #: includes/class-geodir-frontend-scripts.php:898 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2291 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2387 msgctxt "enhanced select" msgid "You can only select 1 item" msgstr "" #: includes/class-geodir-frontend-scripts.php:899 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2292 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2388 msgctxt "enhanced select" msgid "You can only select %item% items" msgstr "" #: includes/class-geodir-frontend-scripts.php:900 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2293 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2389 msgctxt "enhanced select" msgid "Loading more results…" msgstr "" #: includes/class-geodir-frontend-scripts.php:901 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2294 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2390 msgctxt "enhanced select" msgid "Searching…" msgstr "" @@ -13223,83 +13229,83 @@ msgid "Set" msgstr "" #: includes/core-functions.php:388 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2333 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2429 msgctxt "time ago" msgid "ago" msgstr "" #: includes/core-functions.php:389 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2334 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2430 msgctxt "time ago" msgid "after" msgstr "" #: includes/core-functions.php:391 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2336 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2432 msgctxt "time ago" msgid "less than a minute" msgstr "" #: includes/core-functions.php:392 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2337 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2433 msgctxt "time ago" msgid "about a minute" msgstr "" #: includes/core-functions.php:393 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2338 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2434 #, php-format msgctxt "time ago" msgid "%d minutes" msgstr "" #: includes/core-functions.php:394 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2339 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2435 msgctxt "time ago" msgid "about an hour" msgstr "" #: includes/core-functions.php:395 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2340 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2436 #, php-format msgctxt "time ago" msgid "about %d hours" msgstr "" #: includes/core-functions.php:396 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2341 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2437 msgctxt "time ago" msgid "a day" msgstr "" #: includes/core-functions.php:397 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2342 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2438 #, php-format msgctxt "time ago" msgid "%d days" msgstr "" #: includes/core-functions.php:398 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2343 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2439 msgctxt "time ago" msgid "about a month" msgstr "" #: includes/core-functions.php:399 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2344 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2440 #, php-format msgctxt "time ago" msgid "%d months" msgstr "" #: includes/core-functions.php:400 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2345 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2441 msgctxt "time ago" msgid "about a year" msgstr "" #: includes/core-functions.php:401 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2346 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2442 #, php-format msgctxt "time ago" msgid "%d years" @@ -14070,12 +14076,12 @@ msgid "Choose Time" msgstr "" #: includes/general-functions.php:2588 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2181 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2277 msgid "Hour" msgstr "" #: includes/general-functions.php:2589 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2182 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2278 msgid "Minute" msgstr "" @@ -14100,12 +14106,12 @@ msgid "Done" msgstr "" #: includes/general-functions.php:2596 includes/helper-functions.php:693 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2176 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2272 msgid "AM" msgstr "" #: includes/general-functions.php:2597 includes/helper-functions.php:694 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2177 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2273 msgid "PM" msgstr "" @@ -14269,157 +14275,157 @@ msgid "%1$s must be between %2$d (inclusive) and %3$d (inclusive)" msgstr "" #: includes/helper-functions.php:645 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2122 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2218 msgid "January" msgstr "" #: includes/helper-functions.php:646 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2123 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2219 msgid "February" msgstr "" #: includes/helper-functions.php:647 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2124 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2220 msgid "March" msgstr "" #: includes/helper-functions.php:648 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2125 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2221 msgid "April" msgstr "" #: includes/helper-functions.php:649 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2126 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2222 msgid "May" msgstr "" #: includes/helper-functions.php:650 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2127 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2223 msgid "June" msgstr "" #: includes/helper-functions.php:651 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2128 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2224 msgid "July" msgstr "" #: includes/helper-functions.php:652 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2129 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2225 msgid "August" msgstr "" #: includes/helper-functions.php:653 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2130 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2226 msgid "September" msgstr "" #: includes/helper-functions.php:654 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2131 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2227 msgid "October" msgstr "" #: includes/helper-functions.php:655 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2132 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2228 msgid "November" msgstr "" #: includes/helper-functions.php:656 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2133 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2229 msgid "December" msgstr "" #: includes/helper-functions.php:659 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2134 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2230 msgctxt "January abbreviation" msgid "Jan" msgstr "" #: includes/helper-functions.php:660 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2135 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2231 msgctxt "February abbreviation" msgid "Feb" msgstr "" #: includes/helper-functions.php:661 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2136 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2232 msgctxt "March abbreviation" msgid "Mar" msgstr "" #: includes/helper-functions.php:662 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2137 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2233 msgctxt "April abbreviation" msgid "Apr" msgstr "" #: includes/helper-functions.php:663 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2138 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2234 msgctxt "May abbreviation" msgid "May" msgstr "" #: includes/helper-functions.php:664 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2139 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2235 msgctxt "June abbreviation" msgid "Jun" msgstr "" #: includes/helper-functions.php:665 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2140 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2236 msgctxt "July abbreviation" msgid "Jul" msgstr "" #: includes/helper-functions.php:666 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2141 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2237 msgctxt "August abbreviation" msgid "Aug" msgstr "" #: includes/helper-functions.php:667 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2142 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2238 msgctxt "September abbreviation" msgid "Sep" msgstr "" #: includes/helper-functions.php:668 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2143 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2239 msgctxt "October abbreviation" msgid "Oct" msgstr "" #: includes/helper-functions.php:669 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2144 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2240 msgctxt "November abbreviation" msgid "Nov" msgstr "" #: includes/helper-functions.php:670 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2145 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2241 msgctxt "December abbreviation" msgid "Dec" msgstr "" #: includes/helper-functions.php:682 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2146 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2242 msgctxt "Sunday initial" msgid "S" msgstr "" #: includes/helper-functions.php:683 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2147 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2243 msgctxt "Monday initial" msgid "M" msgstr "" #: includes/helper-functions.php:684 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2148 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2244 msgctxt "Tuesday initial" msgid "T" msgstr "" #: includes/helper-functions.php:685 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2149 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2245 msgctxt "Wednesday initial" msgid "W" msgstr "" @@ -14435,18 +14441,18 @@ msgid "F" msgstr "" #: includes/helper-functions.php:688 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2152 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2248 msgctxt "Saturday initial" msgid "S" msgstr "" #: includes/helper-functions.php:691 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2174 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2270 msgid "am" msgstr "" #: includes/helper-functions.php:692 -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2175 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2271 msgid "pm" msgstr "" @@ -21549,61 +21555,61 @@ msgstr "" msgid "Secondary Color" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2150 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2246 msgctxt "Friday initial" msgid "T" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2151 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2247 msgctxt "Thursday initial" msgid "F" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2153 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2249 msgid "Su" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2154 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2250 msgid "Mo" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2155 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2251 msgid "Tu" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2156 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2252 msgid "We" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2157 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2253 msgid "Th" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2158 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2254 msgid "Fr" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2159 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2255 msgid "Sa" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2180 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2276 msgid "Year" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2183 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2279 msgid "Wk" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2184 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2280 msgid " to " msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2185 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2281 msgid "Scroll to increment" msgstr "" -#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2186 +#: vendor/ayecode/wp-ayecode-ui/includes/ayecode-ui-settings.php:2282 msgid "Click to toggle" msgstr "" diff --git a/readme.txt b/readme.txt index f851e84f..59e3c4e8 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://wpgeodirectory.com Tags: business directory, listings, directory plugin, classifieds, directory, member directory, company directory, team directory, chamber of commerce business directory, church directory, address book, contact directory, local business directory, listings directory, link directory Requires at least: 4.5 Tested up to: 6.4 -Stable tag: 2.3.36 +Stable tag: 2.3.37 Requires PHP: 5.6 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -305,7 +305,7 @@ We don't offer free trials, but we have a 30-day money-back guarantee if you are __WARNING: GDv2 is a significant update over GDv1 and may require manual work, such as adding widgets to sidebars to recreate your current layout. As always, we recommend trying this on a staging site first. [Learn more](https://docs.wpgeodirectory.com/article/260-upgrading-from-gdv1-to-gdv2)__ -= GeoDirectory v2.3.37 - TBD = += GeoDirectory v2.3.37 - 2024-01-25 = * OSM layer url shows apikey parameter twice for custom style map - FIXED * Listing ad shows incorrect rating stars on Divi builder template - FIXED * Edit logo image title is not working on Chrome browser - FIXED