From 49a2b68c08dd7344e4cf9c18ebe69c2e826cf9f8 Mon Sep 17 00:00:00 2001
From: Rafiq <36886362+vairafiq@users.noreply.github.com>
Date: Wed, 22 May 2024 16:13:06 +0600
Subject: [PATCH] fix extension install and preview issue (#1749)
* fix extension install and preview issue
* image replaced
---
includes/classes/class-extension.php | 2 +-
.../my-themes-extensions/extensions-tab.php | 8 +-------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/includes/classes/class-extension.php b/includes/classes/class-extension.php
index 36b123d25c..13e2533f2d 100644
--- a/includes/classes/class-extension.php
+++ b/includes/classes/class-extension.php
@@ -210,7 +210,7 @@ public function has_match_in_active_plugins( $plugin_name = '' ) {
// get_the_products_list
public function setup_products_list() {
- $url = 'https://app.directorist.com/wp-json/directorist/v1/get-remote-products';
+ $url = 'https://app.directorist.com/wp-json/directorist/v1/get-remote-products?' . ATBDP_VERSION;
$headers = array(
'user-agent' => 'Directorist/' . md5( esc_url( home_url() ) ) . ';',
'Accept' => 'application/json',
diff --git a/views/admin-templates/theme-extensions/my-themes-extensions/extensions-tab.php b/views/admin-templates/theme-extensions/my-themes-extensions/extensions-tab.php
index 42e6288bbd..79b25741d3 100644
--- a/views/admin-templates/theme-extensions/my-themes-extensions/extensions-tab.php
+++ b/views/admin-templates/theme-extensions/my-themes-extensions/extensions-tab.php
@@ -138,13 +138,7 @@