Plugin Directory

Changeset 3357646


Ignore:
Timestamp:
09/08/2025 07:38:20 AM (7 months ago)
Author:
wpintegrate
Message:

checked compatibility with WordPress 6.8.2

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

Legend:

Unmodified
Added
Removed
  • o365-user-authentication/trunk/function/o365_azure_login_settings.php

    r2278275 r3357646  
    5050               
    5151                $custom_curl = o365UserAuthOnlineGraphServiceAccessHelper::getFeed('groups');
    52                 if( isset( $custom_curl->{'odata.error'} ) ){
     52               
     53                if( isset( $custom_curl->{'odata.error'} ) ){                   
    5354                    echo "<div class='apps_error'>ERROR: ".$custom_curl->{'odata.error'}->{'message'}->{'value'}."</div>";
    5455                }
  • o365-user-authentication/trunk/libraries/o365-user-auth-online-graph-service-access-helper.php

    r2278275 r3357646  
    3333       
    3434        $jsonOutput = json_decode($output['body']);
    35                
    36         if( isset( $jsonOutput->{'odata.error'} ) ){
     35   
     36        if( isset( $jsonOutput->{'odata.error'} )  || isset( $jsonOutput->error ) ){
    3737            return  $jsonOutput;
    3838            //return $jsonOutput->{'odata.error'}->{'message'}->{'value'};
     39        }elseif( isset( $jsonOutput->error ) ){
     40            return  $jsonOutput;
    3941        }
    4042        else
    4143        {
     44            print_r($jsonOutput); echo '----';
    4245            /* There is a field for odata metadata that we ignore and just consume the value */
    4346            return $jsonOutput->{'value'};
  • o365-user-authentication/trunk/o365-user-auth-online.php

    r2988014 r3357646  
    33 * Plugin Name: Office 365 User Authentication
    44 * Plugin URI:  http://www.wpintegrate.com/
    5  * Version:     2.6
     5 * Version:     2.7
    66 * Author:      wpintegrate.com
    77 * Author URI:  http://www.wpintegrate.com/
Note: See TracChangeset for help on using the changeset viewer.