PluginProbe
Passster – Password Protect Pages and Content / 4.3.17
Passster – Password Protect Pages and Content v4.3.17
4.3.17 4.3.16 4.3.15 4.3.14 4.3.12 4.3.13 4.3.11 4.3.10 4.3.9 4.3.8 4.3.7 4.3.6 4.3.5 trunk 3.5.4 3.5.5.2 3.5.5.8 3.5.5.9 4.0 4.1.4 4.2.10 4.2.11 4.2.12 4.2.13 4.2.14 All 49 releases
← All changes | inc/freemius/templates/tabs-capture-js.php +3 -2 4.0 → 4.3.17 View file →
@@ -41,12 +41,13 @@
41 41
42 42 if (-1 < tabsPosition) {
43 43 aboveTabsHtml = settingHtml.substr(0, tabsPosition);
44 44
45 - var tabsHtml = $('.wrap .nav-tab-wrapper').clone().wrap('<div>').parent().html();
45 + var tabsHtml = $('.wrap .nav-tab-wrapper').clone().wrap('<div>').parent().html(),
46 + ajaxUrl = <?php echo Freemius::ajax_url() ?>;
46 47
47 48 $.ajax({
48 - url : <?php echo Freemius::ajax_url() ?> + '?' + $.param({
49 + url : ajaxUrl + (ajaxUrl.includes('?') ? '&' : '?') + $.param({
49 50 action : '<?php echo $fs->get_ajax_action( 'store_tabs' ) ?>',
50 51 security : '<?php echo $fs->get_ajax_security( 'store_tabs' ) ?>',
51 52 module_id: '<?php echo $fs->get_id() ?>'
52 53 }),