Skip to content

Commit

Permalink
Near me manual popup for setting location cancel button not working w…
Browse files Browse the repository at this point in the history
…ith BS5 styles - FIXED
  • Loading branch information
Stiofan committed Apr 25, 2024
1 parent dbc93f4 commit 58963d0
Show file tree
Hide file tree
Showing 19 changed files with 5,099 additions and 5,080 deletions.
4 changes: 2 additions & 2 deletions includes/class-geodir-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private static function gd_ajax_headers() {
* @since 2.0.0
*/
public static function manual_map() {
global $geodirectory, $mapzoom, $geodir_manual_map;
global $geodirectory, $mapzoom, $geodir_manual_map,$aui_bs5;

$prefix = isset( $_POST['trigger'] ) ? sanitize_title( geodir_clean( $_POST['trigger'] ) ) : 'geodir_manual_location_';
$prefix = esc_attr( $prefix );
Expand Down Expand Up @@ -233,7 +233,7 @@ public static function manual_map() {
if( $design_style ) {
?>
<div class="text-right text-end">
<button type="button" class="btn btn-link" data-dismiss="modal"><?php _e("Cancel","geodirectory");?></button>
<button type="button" class="btn btn-link" data<?php echo $aui_bs5 ? '-bs' : ''; ?>-dismiss="modal"><?php _e("Cancel","geodirectory");?></button>
<button class="btn btn-primary"
onclick="if(jQuery('#<?php echo esc_attr( $prefix ) . 'latitude'; ?>').val()==''){alert('<?php _e( 'Please drag the marker or the map to set the position.', 'geodirectory' ); ?>');}else{jQuery(window).triggerHandler('<?php echo esc_attr( $prefix ); ?>', [jQuery('#<?php echo esc_attr( $prefix ) . 'latitude'; ?>').val(), jQuery('#<?php echo esc_attr( $prefix ) . 'longitude'; ?>').val()]);}"><?php _e( 'Set my location', 'geodirectory' ); ?></button>
</div><?php
Expand Down
3 changes: 2 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,11 @@ 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.50 - TBD =
= GeoDirectory v2.3.50 - 2024-TBD =
* Correct leaflet routing icon font family - FIXED
* CPT settings template field don't have clear setting option - FIXED
* GD > Listings additional css class(es) attribute is not working - FIXED
* Near me manual popup for setting location cancel button not working with BS5 styles - FIXED

= GeoDirectory v2.3.49 - 2024-04-15 =
* Extra sanitization for shortcode tag selectors, contributor+ user with details template access could potentially output JS code - FIXED/SECURITY
Expand Down
18 changes: 18 additions & 0 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
}

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit3225cff1a6fbcb5c09d8a0b088568404::getLoader();
2 changes: 1 addition & 1 deletion vendor/ayecode/wp-ayecode-ui/ayecode-ui-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
add_action('after_setup_theme', function () {
global $ayecode_ui_version,$ayecode_ui_file_key;
$this_version = "0.2.11";
$this_version = "0.2.12";
if(empty($ayecode_ui_version) || version_compare($this_version , $ayecode_ui_version, '>')){
$ayecode_ui_version = $this_version ;
$ayecode_ui_file_key = wp_hash( __FILE__ );
Expand Down
3 changes: 3 additions & 0 deletions vendor/ayecode/wp-ayecode-ui/change-log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
= 0.2.12 - 2024-04-25 =
* Enhance BS4 to BS5 class replacements - CHANGED

= 0.2.11 - 2024-04-11 =
* .link-* classes not respecting editor color change - FIXED

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AyeCode_UI_Settings {
*
* @var string
*/
public $version = '0.2.11';
public $version = '0.2.12';

/**
* Class textdomain.
Expand Down
23 changes: 17 additions & 6 deletions vendor/ayecode/wp-ayecode-ui/includes/inc/bs-conversion.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,24 @@ function aui_bs_convert_sd_output( $output, $instance = '', $args = '', $sd = ''
global $aui_bs5;

if ( $aui_bs5 ) {

$convert = array(
'ml-' => 'ms-',
'mr-' => 'me-',
'pl-' => 'ps-',
'pr-' => 'pe-',
' form-row' => ' row',
'"ml-' => '"ms-',
'"mr-' => '"me-',
'"pl-' => '"ps-',
'"pr-' => '"pe-',
"'ml-" => "'ms-",
"'mr-" => "'me-",
"'pl-" => "'ps-",
"'pr-" => "'pe-",
' ml-' => ' ms-',
' mr-' => ' me-',
' pl-' => ' ps-',
' pr-' => ' pe-',
'.ml-' => '.ms-',
'.mr-' => '.me-',
'.pl-' => '.ps-',
'.pr-' => '.pe-',
' form-row' => ' row',
' embed-responsive-item' => '',
' embed-responsive' => ' ratio',
'-1by1' => '-1x1',
Expand Down
7 changes: 7 additions & 0 deletions vendor/ayecode/wp-super-duper/change-log.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
= 1.1.39 - 2024-04-18 =
* Better block recovery - UPDATED

= 1.1.38 - 2024-04-16 =
* Escape shortcode param names - ADDED
* Better block recovery - UPDATED

= 1.1.37 - 2024-04-11 =
* Font size option as inherit could output a 0 as a class - FIXED
* Block rename functionality removed by default and added back with new function metadata_name = sd_get_custom_name_input() - CHANGED
Expand Down
Loading

0 comments on commit 58963d0

Please sign in to comment.