Changeset 2581920
- Timestamp:
- 08/12/2021 09:19:11 AM (5 years ago)
- Location:
- accesstype/trunk
- Files:
-
- 2 edited
-
includes/shortcodes.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
accesstype/trunk/includes/shortcodes.php
r2579245 r2581920 54 54 $plan_heading = get_option('accesstype-plan-heading'); 55 55 $plan_sub_heading = get_option('accesstype-plan-sub-heading'); 56 $login_page_url = esc_url( wp_login_url( get_permalink() ) ); 56 57 57 58 $results = ''; … … 64 65 var planHeading = '" . $plan_heading . "'; 65 66 var planSubHeading = '" . $plan_sub_heading . "'; 67 var loginPageUrl = '" . $login_page_url . "'; 68 66 69 const urlParams = new URLSearchParams(window.location.search); 67 70 const returnUrl = urlParams.get('return-url'); … … 72 75 }, 73 76 returnUrl: returnUrl, 77 loginPageUrl: loginPageUrl, 74 78 custom: { 75 79 styles: { -
accesstype/trunk/readme.txt
r2579269 r2581920 4 4 Tested up to: 5.8 5 5 Requires PHP: 5.6.20 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.