WordPress.org

Make WordPress Core

Changeset 15900


Ignore:
Timestamp:
10/21/2010 05:51:49 PM (9 years ago)
Author:
nacin
Message:

Hooks for user dashboard. props PeteMall, see #14696.

File:
1 edited

Legend:

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

    r15878 r15900  
    105105        do_action( 'wp_network_dashboard_setup' );
    106106        $dashboard_widgets = apply_filters( 'wp_network_dashboard_widgets', array() );
     107    } elseif ( is_user_admin() ) {
     108        do_action( 'wp_user_dashboard_setup' );
     109        $dashboard_widgets = apply_filters( 'wp_user_dashboard_widgets', array() );     
    107110    } else {
    108111        do_action( 'wp_dashboard_setup' );
Note: See TracChangeset for help on using the changeset viewer.