Skip to content

Commit

Permalink
Merge pull request #2543 from kprajapatii/master
Browse files Browse the repository at this point in the history
Skip TranslatePress plugin from Fast AJAX request - CHANGED
  • Loading branch information
kprajapatii authored Feb 19, 2024
2 parents 895e1ec + 2fe8b94 commit 4be3183
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-geodir-fast-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public static function allowed_plugins( $plugins = array() ) {
}

// Non GD plugins
if ( strpos( $plugin, 'sitepress-multilingual-cms' ) !== false || strpos( $plugin, 'wpml-' ) === 0 || strpos( $plugin, 'loco-translate' ) !== false ) {
if ( strpos( $plugin, 'sitepress-multilingual-cms' ) !== false || strpos( $plugin, 'wpml-' ) === 0 || strpos( $plugin, 'loco-translate' ) !== false || strpos( $plugin, 'translatepress-' ) !== false ) {
$allowed_plugins[] = $plugin;
continue;
}
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ __WARNING: GDv2 is a significant update over GDv1 and may require manual work, s

= GeoDirectory v2.3.41 - TBD =
* OSM directions route should use listing location as an end point - CHANGED
* Skip TranslatePress plugin from Fast AJAX request - CHANGED

= GeoDirectory v2.3.40 - 2024-02-15 =
* Custom single post map is not loading on non GD pages - FIXED
Expand Down

0 comments on commit 4be3183

Please sign in to comment.