Skip to content

Commit

Permalink
Map markers for custom loop filtering current location on single list…
Browse files Browse the repository at this point in the history
…ing page - FIXED
  • Loading branch information
kprajapatii committed Jul 13, 2021
1 parent f94029b commit ffc3fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
= 2.1.0.18 =
* GD listings author page not working when author permalink contains custom link - FIXED
* Compatibility changes for Jetpack v8.1+ - CHANGED
* Map markers for custom loop filtering current location on single listing page - FIXED

= 2.1.0.17 =
* Complianz | GDPR/CCPA Cookie Consent plugin integration added for GD maps - ADDED
Expand Down
2 changes: 1 addition & 1 deletion includes/widgets/class-geodir-widget-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ public function output( $args = array(), $widget_args = array(), $content = '' )
}

// post map
if ( $map_args['map_type'] == 'post' ) {
if ( $map_args['map_type'] == 'post' || ( ! empty( $map_args['tags'] ) && is_scalar( $map_args['tags'] ) && ( strpos( $map_args['tags'], '.' ) === 0 || strpos( $map_args['tags'], '#' ) === 0 ) ) ) {
$map_args['country'] = '';
$map_args['region'] = '';
$map_args['city'] = '';
Expand Down

0 comments on commit ffc3fd4

Please sign in to comment.