WordPress.org

Make WordPress Core

Changeset 16224


Ignore:
Timestamp:
11/06/2010 05:40:12 PM (8 years ago)
Author:
ryan
Message:

Issue user_admin_notices for user admin. Issue admin_notices only for blog admin. Issue all_admin_notices for all dashboards. see #14696

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r15992 r16224  
    173173screen_meta($current_screen);
    174174
    175 if ( is_multisite() ) {
    176     if ( is_network_admin() )
    177         do_action('network_admin_notices');
    178     else
    179         do_action('site_admin_notices');
    180 } else {
     175if ( is_network_admin() )
    181176    do_action('network_admin_notices');
    182     do_action('site_admin_notices');
    183 }
     177elseif ( is_user_admin() )
     178    do_action('user_admin_notices');
     179else
     180    do_action('admin_notices');
    184181
    185 do_action('admin_notices');
     182do_action('all_admin_notices');
    186183
    187184if ( $parent_file == 'options-general.php' )
Note: See TracChangeset for help on using the changeset viewer.