Skip to content

Commit

Permalink
Fix array_map() warning.
Browse files Browse the repository at this point in the history
Basically the same as voceconnect#22, but placed in a better location.
  • Loading branch information
r-a-y committed Mar 16, 2018
1 parent 00a4d21 commit fa7dae4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wp-multisite-sso.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public static function handle_login( $username, $user ) {
$user_agent = wp_unslash( $_SERVER['HTTP_USER_AGENT'] );
}

$sso_objects = array();
foreach( array_keys( $network_sites ) as $blog_id ) {
// build the sso objects to send
$sso_objects[$blog_id] = array(
Expand Down

0 comments on commit fa7dae4

Please sign in to comment.