WordPress.org

Make WordPress Core

Changeset 26344


Ignore:
Timestamp:
11/23/2013 10:46:22 PM (8 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/user/admin.php.

Props leewillis77 for the initial patch. Props kpdesign.
Fixes #25825.

File:
1 edited

Legend:

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

    r19712 r26344  
    1818
    1919$redirect_user_admin_request = ( ( $current_blog->domain != $current_site->domain ) || ( $current_blog->path != $current_site->path ) );
     20/**
     21 * Filter whether a user should be redirected to the Global Dashboard in Multisite.
     22 *
     23 * Users not assigned to any sites in the network will be redirected to the Global
     24 * Dashboard after logging in.
     25 *
     26 * @since 3.2.0
     27 *
     28 * @param bool $redirect_user_admin_request Whether the request should be redirected.
     29 */
    2030$redirect_user_admin_request = apply_filters( 'redirect_user_admin_request', $redirect_user_admin_request );
    2131if ( $redirect_user_admin_request ) {
Note: See TracChangeset for help on using the changeset viewer.