diff options
Diffstat (limited to 'plugins/openid/openid.php')
-rw-r--r-- | plugins/openid/openid.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/openid/openid.php b/plugins/openid/openid.php index 86fb4725..5a2ecd0a 100644 --- a/plugins/openid/openid.php +++ b/plugins/openid/openid.php @@ -5,8 +5,8 @@ * Description: Allows the use of OpenID for account registration, authentication, and commenting. Also includes an OpenID provider which can turn WordPress author URLs into OpenIDs. * Author: DiSo Development Team * Author URI: http://diso-project.org/ - * Version: 3.5.0 - * Requires PHP: 5.3 + * Version: 3.6.1 + * Requires PHP: 5.6 * License: Apache 2.0 * License URI: https://www.apache.org/licenses/LICENSE-2.0 * Text Domain: openid @@ -186,7 +186,7 @@ if ( ! function_exists( 'get_userdata_by_various' ) ) : return false; } return $user->data; - } else if ( is_numeric( $id_or_name ) ) { + } elseif ( is_numeric( $id_or_name ) ) { return get_user_by( 'id', $id_or_name ); } else { return get_user_by( 'login', $id_or_name ); |