Skip to content

Commit

Permalink
Merge pull request #2568 from kprajapatii/master
Browse files Browse the repository at this point in the history
2.3.48
  • Loading branch information
kprajapatii authored Apr 11, 2024
2 parents 544927f + f9ce0db commit 18f4bcc
Show file tree
Hide file tree
Showing 5 changed files with 401 additions and 380 deletions.
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.47
* Version: 2.3.48
* Author: AyeCode - WordPress 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.47';
public $version = '2.3.48';

/**
* GeoDirectory instance.
Expand Down
2 changes: 1 addition & 1 deletion includes/class-geodir-compatibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -3265,7 +3265,7 @@ public static function fusion_is_hundred_percent_template( $value = false, $page
* @return string The template path.
*/
public static function elementor_template_include( $template ) {
if ( $page_id = (int) self::gd_page_id() ) {
if ( defined( 'ELEMENTOR_VERSION' ) && class_exists( '\Elementor\Plugin' ) && ( $page_id = (int) self::gd_page_id() ) ) {
$elementor_plugin = \Elementor\Plugin::$instance;
$document = $elementor_plugin->documents->get_doc_for_frontend( $page_id );

Expand Down
Binary file modified languages/geodirectory-en_US.mo
Binary file not shown.
Loading

0 comments on commit 18f4bcc

Please sign in to comment.