Make WordPress Core

Changeset 28544


Ignore:
Timestamp:
05/22/2014 06:53:43 PM (11 years ago)
Author:
wonderboymusic
Message:

$theme_name is set but no longer used in wp_dashboard_right_now(). The theme name is displayed with the call to update_right_now_message().

See #27882.

File:
1 edited

Legend:

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

    r28539 r28544  
    219219 */
    220220function wp_dashboard_right_now() {
    221     $theme = wp_get_theme();
    222     if ( current_user_can( 'switch_themes' ) )
    223         $theme_name = sprintf( '<a href="themes.php">%1$s</a>', $theme->display('Name') );
    224     else
    225         $theme_name = $theme->display('Name');
    226221?>
    227222    <div class="main">
Note: See TracChangeset for help on using the changeset viewer.