Plugin Directory

Changeset 2535855


Ignore:
Timestamp:
05/22/2021 12:47:09 PM (5 years ago)
Author:
wpintegrate
Message:

Fixed multisite issue and bugs based on WordPress 5.7.2

Location:
o365-user-authentication/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • o365-user-authentication/trunk/o365-user-auth-online.php

    r2432102 r2535855  
    44 * Plugin Name: Office 365 User Authentication
    55 * Plugin URI:  http://www.wpintegrate.com/
    6  * Version:     2.1
     6 * Version:     2.2
    77 * Author:      wpintegrate.com
    88 * Author URI:  http://www.wpintegrate.com/
     
    7676if (!isset($azure_online_access_token) || $azure_online_access_token == "") {
    7777    global $pagenow;
    78     if ($pagenow == 'admin.php' && !empty($_GET['page']) && $_GET['page'] == 'o365_settings') {
    79         $current_page_path = $pagenow . '?page=' . $_GET['page'];
     78    if ( !empty($_GET['page']) && $_GET['page'] == 'o365_settings') {
     79        $current_page_path = 'admin.php?page=' . $_GET['page'];
    8080        if (admin_url('admin.php?page=o365_settings') == admin_url($current_page_path)) {
    8181            add_action('admin_init', 'o365_user_auth_online_access_token');
  • o365-user-authentication/trunk/readme.txt

    r2432102 r2535855  
    44Tags: authentication login, azure active directory sso, office 365, dynamics crm, sharepoint
    55Requires at least: 3.5.2
    6 Tested up to: 5.5.3
     6Tested up to: 5.7.2
    77Requires PHP: 5.6.36
    88Tested up to PHP: 8.0.0
Note: See TracChangeset for help on using the changeset viewer.