Make WordPress Core


Ignore:
Timestamp:
10/18/2008 08:46:30 PM (17 years ago)
Author:
ryan
Message:

phpdoc corrections from jacobsantos. see #7918

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r9213 r9243  
    427427endif;
    428428
     429if ( !function_exists('wp_authenticate') ) :
    429430/**
    430431 * Checks a user's login information and logs them in if it checks out.
    431432 *
    432  * @since 2.5
     433 * @since 2.5.0
    433434 *
    434435 * @param string $username User's username
     
    436437 * @return WP_Error|WP_User WP_User object if login successful, otherwise WP_Error object.
    437438 */
    438 if ( !function_exists('wp_authenticate') ) :
    439439function wp_authenticate($username, $password) {
    440440    $username = sanitize_user($username);
     
    468468endif;
    469469
     470if ( !function_exists('wp_logout') ) :
    470471/**
    471472 * Log the current user out.
    472473 *
    473  * @since 2.5
    474  */
    475 if ( !function_exists('wp_logout') ) :
     474 * @since 2.5.0
     475 */
    476476function wp_logout() {
    477477    wp_clear_auth_cookie();
Note: See TracChangeset for help on using the changeset viewer.