Make WordPress Core


Ignore:
Timestamp:
12/01/2010 07:24:38 PM (14 years ago)
Author:
ryan
Message:

Update since phpdoc. Props demetris. fixes #15445

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r16443 r16660  
    217217 * Retrieve user data and filter it.
    218218 *
    219  * @since unknown
     219 * @since 2.0.5
    220220 *
    221221 * @param int $user_id User ID.
     
    242242 * Retrieve the user's drafts.
    243243 *
    244  * @since unknown
     244 * @since 2.0.0
    245245 *
    246246 * @param int $user_id User ID.
     
    262262 * The user meta will also be deleted that are for that User ID.
    263263 *
    264  * @since unknown
     264 * @since 2.0.0
    265265 *
    266266 * @param int $id User ID.
     
    317317 * Remove all capabilities from user.
    318318 *
    319  * @since unknown
     319 * @since 2.1.0
    320320 *
    321321 * @param int $id User ID.
     
    329329
    330330add_action('admin_init', 'default_password_nag_handler');
     331/**
     332 * @since 2.8.0
     333 */
    331334function default_password_nag_handler($errors = false) {
    332335    global $user_ID;
     
    342345
    343346add_action('profile_update', 'default_password_nag_edit_user', 10, 2);
     347/**
     348 * @since 2.8.0
     349 */
    344350function default_password_nag_edit_user($user_ID, $old_data) {
    345351    if ( ! get_user_option('default_password_nag', $user_ID) ) //Short circuit it.
     
    355361
    356362add_action('admin_notices', 'default_password_nag');
     363/**
     364 * @since 2.8.0
     365 */
    357366function default_password_nag() {
    358367    global $pagenow;
Note: See TracChangeset for help on using the changeset viewer.