Skip to content

Commit

Permalink
Merge pull request #2685 from kprajapatii/master
Browse files Browse the repository at this point in the history
2.3.79
  • Loading branch information
kprajapatii authored Sep 19, 2024
2 parents 8f2f1ef + a2d9e6d commit 187d3ad
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 32 deletions.
10 changes: 5 additions & 5 deletions assets/aui/js/geodirectory.js
Original file line number Diff line number Diff line change
Expand Up @@ -1459,9 +1459,9 @@ function gd_ninja_lightbox($action,$nonce,$post_id,$extra){

if($action=='geodir_ninja_forms'){
// clear all form data so we can reload the same form via ajax
delete form;
delete formDisplay;
delete nfForms;
form = null;
formDisplay = null;
nfForms = null;
}

url = geodir_params.ajax_url+"?action="+$action+"&security="+$nonce+"&p="+$post_id+"&extra="+$extra;
Expand Down Expand Up @@ -2178,7 +2178,7 @@ function geodir_init_listings_carousel(el, index) {
mN = 'n4';
$carousel.parent().addClass('px-4');
}
var controls = '<a class="carousel-control-prev text-dark mr-2 ml-n2 me-2 ms-' + mN + ' w-auto '+i_mb+'" href="#' + cid + '" role="button" data-' + bsDash + 'slide="prev"><i class="fas fa-chevron-left fa-lg" aria-hidden="true"></i><span class="sr-only visually-hidden">' + geodir_params.txt_previous + '</span></a><a class="carousel-control-next text-dark ml-2 w-auto mr-n2 me-' + mN + ' ms-2 '+i_mb+'" href="#' + cid + '" role="button" data-' + bsDash + 'slide="next"><i class="fas fa-chevron-right fa-lg" aria-hidden="true"></i><span class="sr-only visually-hidden">' + geodir_params.txt_next + '</span></a>';
var controls = '<a class="carousel-control-prev text-dark mr-2 ml-n2 me-2 ms-' + mN + ' w-auto '+i_mb+'" href="#' + cid + '" role="button" data-' + bsDash + 'slide="' + ( geodir_params.is_rtl ? 'next' : 'prev' ) + '"><i class="fas fa-chevron-' + ( geodir_params.is_rtl ? 'right' : 'left' ) + ' fa-lg" aria-hidden="true"></i><span class="sr-only visually-hidden">' + geodir_params.txt_previous + '</span></a><a class="carousel-control-next text-dark ml-2 w-auto mr-n2 me-' + mN + ' ms-2 '+i_mb+'" href="#' + cid + '" role="button" data-' + bsDash + 'slide="' + ( geodir_params.is_rtl ? 'prev' : 'next' ) + '"><i class="fas fa-chevron-' + ( geodir_params.is_rtl ? 'left' : 'right' ) + ' fa-lg" aria-hidden="true"></i><span class="sr-only visually-hidden">' + geodir_params.txt_next + '</span></a>';
jQuery(el).after(controls);
}

Expand Down Expand Up @@ -2352,7 +2352,7 @@ function bs_carousel_data(el) {
$ci.find('.bs-carousel-item').each(function(i) {
var item = {
'width': cW,
'transform': transform * -1,
'transform': transform * (geodir_params.is_rtl ? 1 : -1),
}
if (i == to) {
tItem = item;
Expand Down
2 changes: 1 addition & 1 deletion assets/aui/js/geodirectory.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions geodirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: GeoDirectory
* Plugin URI: https://wpgeodirectory.com/
* Description: GeoDirectory - Business Directory Plugin for WordPress.
* Version: 2.3.78
* Version: 2.3.79
* Author: AyeCode - WP Business Directory Plugins
* Author URI: https://wpgeodirectory.com
* Text Domain: geodirectory
Expand All @@ -34,7 +34,7 @@ final class GeoDirectory {
*
* @var string
*/
public $version = '2.3.78';
public $version = '2.3.79';

/**
* GeoDirectory instance.
Expand Down
Binary file modified languages/geodirectory-en_US.mo
Binary file not shown.
42 changes: 21 additions & 21 deletions languages/geodirectory-en_US.po
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
msgid ""
msgstr ""
"Project-Id-Version: GeoDirectory 2.3.78\n"
"Project-Id-Version: GeoDirectory 2.3.79\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-12 21:10+0530\n"
"PO-Revision-Date: 2024-09-12 21:10+0530\n"
"PO-Revision-Date: 2024-09-19 21:50+0530\n"
"Last-Translator: \n"
"Language-Team: AyeCode Ltd <contact@ayecode.io>\n"
"Language: en_US\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-KeywordsList: __;__ngettext:1,2;__ngettext_noop:1,2;_c;_e;_ex:1,2c;"
"_n:1,2;_n_noop:1,2;_nc:4c,1,2;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;esc_attr__;"
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;gettext;"
"gettext_noop\n"
"X-Poedit-Basepath: ..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Generator: Poedit 3.0\n"
"X-Generator: Poedit 3.5\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-SearchPathExcluded-0: vendor/ayecode/wp-ayecode-ui/assets\n"
"X-Poedit-SearchPathExcluded-1: vendor/ayecode/wp-ayecode-ui/assets-v5\n"
Expand Down Expand Up @@ -1816,10 +1816,10 @@ msgstr ""
#, php-format
msgid ""
"If you find a bug within GeoDirectory core you can create a ticket via <a "
"href=\"%1$s\">Github issues</a>. Ensure you read the <a href=\"%2$s"
"\">contribution guide</a> prior to submitting your report. To help us solve "
"your issue, please be as descriptive as possible and include your <a href="
"\"%3$s\">system status report</a>."
"href=\"%1$s\">Github issues</a>. Ensure you read the <a "
"href=\"%2$s\">contribution guide</a> prior to submitting your report. To "
"help us solve your issue, please be as descriptive as possible and include "
"your <a href=\"%3$s\">system status report</a>."
msgstr ""

#: includes/admin/class-geodir-admin-help.php:65
Expand Down Expand Up @@ -2257,8 +2257,8 @@ msgstr ""
#: includes/admin/class-geodir-admin-notices.php:79
#, php-format
msgid ""
"GeoDirectory Fast AJAX must-use plugin(mu-plugin) is missing. %1$sFast AJAX"
"%2$s f will not work properly."
"GeoDirectory Fast AJAX must-use plugin(mu-plugin) is missing. %1$sFast "
"AJAX%2$s f will not work properly."
msgstr ""

#: includes/admin/class-geodir-admin-notices.php:151
Expand Down Expand Up @@ -7452,8 +7452,8 @@ msgstr ""
#: includes/admin/views/html-admin-page-addons.php:49
#, php-format
msgid ""
"If you already have a membership key please install <a href=\"%s\" target="
"\"_blank\">WP Easy Updates</a>"
"If you already have a membership key please install <a href=\"%s\" "
"target=\"_blank\">WP Easy Updates</a>"
msgstr ""

#: includes/admin/views/html-admin-page-addons.php:54
Expand Down Expand Up @@ -8113,8 +8113,8 @@ msgstr ""
#, php-format
msgid ""
"If you are modifying GeoDirectory on a parent theme that you did not build "
"personally we recommend using a child theme. See: <a href=\"%s\" target="
"\"_blank\">How to create a child theme</a>"
"personally we recommend using a child theme. See: <a href=\"%s\" "
"target=\"_blank\">How to create a child theme</a>"
msgstr ""

#: includes/admin/views/html-admin-page-status-report.php:609
Expand Down Expand Up @@ -10722,9 +10722,9 @@ msgstr ""

#: includes/class-geodir-classifieds.php:69
msgid ""
"Select statuses to enable functionality for this post type. <span style="
"\"color:red;\">(WARNING: disabling any status for the post type will move "
"all existing posts to draft.)</span>"
"Select statuses to enable functionality for this post type. <span "
"style=\"color:red;\">(WARNING: disabling any status for the post type will "
"move all existing posts to draft.)</span>"
msgstr ""

#: includes/class-geodir-classifieds.php:70
Expand Down Expand Up @@ -14812,8 +14812,8 @@ msgstr ""
#: includes/post-types-functions.php:498
#, php-format
msgid ""
"%s scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s"
"\">Preview %s</a>"
"%s scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" "
"href=\"%2$s\">Preview %s</a>"
msgstr ""

#: includes/post-types-functions.php:498
Expand Down Expand Up @@ -17444,7 +17444,7 @@ msgid "Width:"
msgstr ""

#: includes/widgets/class-geodir-widget-map.php:349
#, php-format
#, no-php-format
msgid ""
"This is the width of the map, you can use % or px here. (static map requires "
"px value)"
Expand Down Expand Up @@ -21783,7 +21783,7 @@ msgid ""
msgstr ""

#: vendor/ayecode/wp-super-duper/map.php:135
#, php-format
#, no-php-format
msgid "This is the width of the map, you can use % or px here."
msgstr ""

Expand Down
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://wpgeodirectory.com
Tags: business directory, listings, directory plugin, classifieds, directory
Requires at least: 4.5
Tested up to: 6.6
Stable tag: 2.3.78
Stable tag: 2.3.79
Requires PHP: 5.6
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Expand Down Expand Up @@ -319,8 +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.79 - TBD =
= 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

= GeoDirectory v2.3.78 - 2024-09-12 =
* GD > Post Content read more link don't scrolls to tab content when tab is not placed at first - FIXED
Expand Down
3 changes: 2 additions & 1 deletion vendor/ayecode/wp-ayecode-ui/includes/inc/bs5-js.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,8 @@ function aui_lightbox_embed($link,ele){

// items
$i = 0;
$carousel += '<div class="carousel-inner d-flex align-items-center">';
$rtl_class = '<?php echo is_rtl() ? 'justify-content-end' : 'justify-content-start'; ?>';
$carousel += '<div class="carousel-inner d-flex align-items-center ' + $rtl_class + '">';
$container.find('.aui-lightbox-image').each(function() {
var a = this;
var href = jQuery(a).attr('href');
Expand Down

0 comments on commit 187d3ad

Please sign in to comment.