From 6634eb6091bed4962cc2a8cc4455a77d788dcac0 Mon Sep 17 00:00:00 2001 From: Kiran Prajapati Date: Mon, 23 Sep 2024 12:26:36 +0530 Subject: [PATCH] Carousel control shows opposite icons on directory theme - FIXED --- includes/class-geodir-frontend-scripts.php | 4 ++-- readme.txt | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/includes/class-geodir-frontend-scripts.php b/includes/class-geodir-frontend-scripts.php index e492e89b..9c84d637 100644 --- a/includes/class-geodir-frontend-scripts.php +++ b/includes/class-geodir-frontend-scripts.php @@ -874,8 +874,8 @@ private static function get_script_data( $handle ) { 'gd_ajax_url' => geodir_ajax_url( true ), 'has_gd_ajax' => ( defined( 'GEODIR_FAST_AJAX' ) && geodir_get_option( 'fast_ajax' ) ? 1 : 0 ), 'gd_modal' => (int)geodir_get_option('geodir_disable_gb_modal'), - 'is_rtl' => is_rtl() ? 1 : 0, // fix rtl issue - 'basic_nonce' => wp_create_nonce( 'geodir_basic_nonce'),// fix rtl issue + 'is_rtl' => (bool) is_rtl(), + 'basic_nonce' => wp_create_nonce( 'geodir_basic_nonce'), 'text_add_fav' => apply_filters('geodir_add_favourite_text', __( 'Add to Favorites', 'geodirectory' )), 'text_fav' => apply_filters('geodir_favourite_text', __('Favorite', 'geodirectory' ) ), 'text_remove_fav' => apply_filters('geodir_remove_favourite_text', __( 'Remove from Favorites', 'geodirectory' )), diff --git a/readme.txt b/readme.txt index 7c5ec2b3..cc517c52 100644 --- a/readme.txt +++ b/readme.txt @@ -319,6 +319,9 @@ 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.80 - TBD = +* Carousel control shows opposite icons on directory theme - FIXED + = GeoDirectory v2.3.79 - 2024-09-19 = * Image meta not saved properly when multiple file fields on add/edit listing page - FIXED * Carousel in BootStrap modal not working on RTL - FIXED