~canonical-sysadmins/wordpress/4.3

« back to all changes in this revision

Viewing changes to wp-includes/pluggable-deprecated.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 *
29
29
 * @param int|null $id User ID.
30
30
 * @param string $name Optional. The user's username
31
 
 * @return object returns wp_set_current_user()
 
31
 * @return WP_User returns wp_set_current_user()
32
32
 */
33
33
function set_current_user($id, $name = '') {
34
34
        _deprecated_function( __FUNCTION__, '3.0', 'wp_set_current_user()' );
148
148
 * @deprecated Use wp_signon()
149
149
 * @global string $error Error when false is returned
150
150
 *
151
 
 * @param string $username User's username
152
 
 * @param string $password User's password
153
 
 * @param bool $deprecated Not used
 
151
 * @param string $username   User's username
 
152
 * @param string $password   User's password
 
153
 * @param string $deprecated Not used
154
154
 * @return bool False on login failure, true on successful check
155
155
 */
156
156
function wp_login($username, $password, $deprecated = '') {