`$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.


git-svn-id: https://develop.svn.wordpress.org/trunk@28544 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-05-22 18:53:43 +00:00
parent 5edb7a633f
commit 70342f4a75
1 changed files with 0 additions and 5 deletions

View File

@ -218,11 +218,6 @@ function wp_dashboard() {
* @since 2.7.0
*/
function wp_dashboard_right_now() {
$theme = wp_get_theme();
if ( current_user_can( 'switch_themes' ) )
$theme_name = sprintf( '<a href="themes.php">%1$s</a>', $theme->display('Name') );
else
$theme_name = $theme->display('Name');
?>
<div class="main">
<ul>