File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515 *
1616 * @var string
1717 */
18- $ this_sdk_version = '2.12.1.1 ' ;
18+ $ this_sdk_version = '2.12.1.2 ' ;
1919
2020 #region SDK Selection Logic --------------------------------------------------------------------
2121
Original file line number Diff line number Diff line change 1717 */
1818 $ fs = freemius ( $ VARS ['id ' ] );
1919
20- $ slug = $ fs ->get_slug ();
20+ $ premium_slug = $ fs ->get_premium_slug ();
2121
2222?>
2323<script type="text/javascript">
2424 (function ($) {
2525 // Select the premium theme version.
26- var $theme = $('#<?php echo $ slug ?> -premium -name').parents('.theme'),
26+ var $theme = $('#<?php echo $ premium_slug ?> -name').parents('.theme'),
2727 addPremiumMetadata = function (firstCall) {
2828 if (!firstCall) {
2929 // Seems like the original theme element is removed from the DOM,
3030 // so we need to reselect the updated one.
31- $theme = $('#<?php echo $ slug ?> -premium -name').parents('.theme');
31+ $theme = $('#<?php echo $ premium_slug ?> -name').parents('.theme');
3232 }
3333
3434 if (0 === $theme.find('.fs-premium-theme-badge-container').length) {
You can’t perform that action at this time.
0 commit comments