From 40336112a6165e678d7156d2ee889856347d5abd Mon Sep 17 00:00:00 2001 From: Leo Fajardo Date: Fri, 15 Aug 2025 00:51:43 +0800 Subject: [PATCH] [theme] Fix premium theme badge on the themes page for themes using a custom premium slug. --- start.php | 2 +- templates/js/style-premium-theme.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/start.php b/start.php index a86d7ae83..f84b0ff27 100644 --- a/start.php +++ b/start.php @@ -15,7 +15,7 @@ * * @var string */ - $this_sdk_version = '2.12.1.1'; + $this_sdk_version = '2.12.1.2'; #region SDK Selection Logic -------------------------------------------------------------------- diff --git a/templates/js/style-premium-theme.php b/templates/js/style-premium-theme.php index 942da64fe..ab961f67f 100644 --- a/templates/js/style-premium-theme.php +++ b/templates/js/style-premium-theme.php @@ -17,18 +17,18 @@ */ $fs = freemius( $VARS['id'] ); - $slug = $fs->get_slug(); + $premium_slug = $fs->get_premium_slug(); ?>