Changeset 1491888
- Timestamp:
- 09/07/2016 03:57:56 PM (9 years ago)
- Location:
- wp-multisite-sso/trunk
- Files:
-
- 3 edited
-
inc/sso.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
wp-multisite-sso.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-multisite-sso/trunk/inc/sso.php
r1151318 r1491888 38 38 $login_header_url = network_home_url(); 39 39 $login_header_title = get_current_site()->site_name; 40 41 $redirect = home_url(); 42 43 /** 44 * Filter the redirect location. 45 * 46 * @param string $redirect The redirect location. 47 * @param string $action The login or logout action being taken. 48 * @param object $user The current user. 49 */ 50 $redirect = apply_filters( 'wp_multisite_sso_redirect', $redirect, $action, $user ); 40 51 ?> 41 52 <html> … … 52 63 wp_print_scripts( array( 'jquery' ) ); 53 64 ?> 54 <script> 65 <script> 55 66 var sites_list, sites_to_load; 56 67 … … 100 111 // send the user back to the main page after SSO login/logout 101 112 function loadComplete(){ 102 window.location="<?php echo esc_url( home_url()); ?>";113 window.location="<?php echo esc_url( $redirect ); ?>"; 103 114 } 104 115 -
wp-multisite-sso/trunk/readme.txt
r1151318 r1491888 5 5 Requires at least: 4.0 6 6 Tested up to: 4.2.1 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-multisite-sso/trunk/wp-multisite-sso.php
r1151318 r1491888 2 2 /* 3 3 Plugin Name: WP Multisite SSO 4 Version: 1.0. 24 Version: 1.0.3 5 5 Plugin URI: http://voceconnect.com/ 6 6 Description: Single sign on for a multisite network. Users are authenticated across all sites within the network. … … 159 159 160 160 include __DIR__ . '/inc/sso.php'; 161 161 162 162 die; 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.