This method has been deprecated. Use wp_xmlrpc_server::login() instead.

wp_xmlrpc_server::login_pass_ok( string $username, string $password )

Check user’s credentials. Deprecated.


Description

See also


Parameters

$username

(Required) User's username.

$password

(Required) User's password.


Return

(bool) Whether authentication passed.


Source

File: wp-includes/class-wp-xmlrpc-server.php

	public function login_pass_ok( $username, $password ) {
		return (bool) $this->login( $username, $password );
	}


Changelog

Changelog
Version Description
WP-2.8.0 Use wp_xmlrpc_server::login()
WP-1.5.0 Introduced. This method has been deprecated. Use wp_xmlrpc_server::login() instead.