Make WordPress Core


Ignore:
Timestamp:
06/15/2011 07:23:35 PM (13 years ago)
Author:
nacin
Message:

Anchor the Browse Happy dashboard widget to the top. Reverts [18295], [18296]. Fixes #17781, #17323.

File:
1 edited

Legend:

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

    r18297 r18314  
    172172    if ( in_array($widget_id, $side_widgets) )
    173173        $location = 'side';
    174     add_meta_box( $widget_id, $widget_name , $callback, $screen->id, $location, 'core' );
     174
     175    $priority = 'core';
     176    if ( 'dashboard_browser_nag' === $widget_id )
     177        $priority = 'high';
     178
     179    add_meta_box( $widget_id, $widget_name, $callback, $screen->id, $location, $priority );
    175180}
    176181
Note: See TracChangeset for help on using the changeset viewer.