diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 13194606f9..7c8c480a17 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -352,10 +352,10 @@ body #dashboard-widgets .postbox form .submit { } #dashboard_right_now #wp-version-message .button { - clear: right; float: right; position: relative; top: -5px; + margin-left: 5px; } .mu-storage { diff --git a/src/wp-admin/includes/update.php b/src/wp-admin/includes/update.php index b78fbfeaba..bad56866fe 100644 --- a/src/wp-admin/includes/update.php +++ b/src/wp-admin/includes/update.php @@ -221,15 +221,17 @@ function update_right_now_message() { $theme_name = sprintf( '%1$s', $theme_name ); } - $msg = sprintf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name ); + $msg = ''; if ( current_user_can('update_core') ) { $cur = get_preferred_from_update_core(); if ( isset( $cur->response ) && $cur->response == 'upgrade' ) - $msg .= " " . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . ''; + $msg .= '' . sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) ) . ' '; } + $msg .= sprintf( '' . __( 'WordPress %1$s running %2$s theme.' ) . '', get_bloginfo( 'version', 'display' ), $theme_name ); + echo "

$msg

"; }