Make WordPress Core

Changeset 7991 for trunk/wp-login.php


Ignore:
Timestamp:
05/25/2008 03:50:15 PM (17 years ago)
Author:
ryan
Message:

File file level phpdoc from jacobsantos. see #7037

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r7979 r7991  
    11<?php
     2/**
     3 *
     4 * @package WordPress
     5 */
     6
     7/** Make sure that the WordPress bootstrap has ran before continuing. */
    28require( dirname(__FILE__) . '/wp-load.php' );
    39
    4 // Rather than duplicating this HTML all over the place, we'll stick it in function
     10/**
     11 * login_header() - Outputs the header for the login page
     12 *
     13 * @package WordPress
     14 * @uses do_action() Calls the 'login_head' for outputting HTML in the Login
     15 *      header.
     16 * @uses apply_filters() Calls 'login_headerurl' for the top login link.
     17 * @uses apply_filters() Calls 'login_headertitle' for the top login title.
     18 * @uses apply_filters() Calls 'login_message' on the message to display in the
     19 *      header.
     20 * @uses $error The error global, which is checked for displaying errors.
     21 *
     22 * @param string $title Optional. WordPress Login Page title to display in
     23 *      <title/> element.
     24 * @param string $message Optional. Message to display in header.
     25 * @param WP_Error $wp_error Optional. WordPress Error Object
     26 */
    527function login_header($title = 'Login', $message = '', $wp_error = '') {
    628    global $error;
     
    5779} // End of login_header()
    5880
     81/**
     82 * retrieve_password() - Handles sending password retrieval email to user
     83 *
     84 * {@internal Missing Long Description}}
     85 *
     86 * @uses $wpdb WordPress Database object
     87 *
     88 * @return bool|WP_Error True: when finish. WP_Error on error
     89 */
    5990function retrieve_password() {
    6091    global $wpdb;
     
    111142}
    112143
     144/**
     145 * reset_password() - Handles resetting the user's password
     146 *
     147 * {@internal Missing Long Description}}
     148 *
     149 * @uses $wpdb WordPress Database object
     150 *
     151 * @param string $key Hash to validate sending user's password
     152 * @return bool|WP_Error
     153 */
    113154function reset_password($key) {
    114155    global $wpdb;
     
    145186}
    146187
     188/**
     189 * register_new_user() - Handles registering a new user
     190 *
     191 * {@internal Missing Long Description}}
     192 *
     193 * @param string $user_login User's username for logging in
     194 * @param string $user_email User's email address to send password and add
     195 * @return int|WP_Error Either user's ID or error on failure.
     196 */
    147197function register_new_user($user_login, $user_email) {
    148198    $errors = new WP_Error();
Note: See TracChangeset for help on using the changeset viewer.