Changeset 27711
- Timestamp:
- 03/25/2014 02:35:23 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/dashboard.css
r27583 r27711 363 363 364 364 #dashboard_right_now .main { 365 overflow: hidden; 365 366 padding: 0 12px 11px; 366 367 } … … 368 369 #dashboard_right_now .main p { 369 370 margin: 0; 371 } 372 373 #dashboard_right_now #wp-version-message .button { 374 clear: right; 375 float: right; 376 position: relative; 377 top: -5px; 370 378 } 371 379 -
trunk/src/wp-admin/includes/dashboard.php
r27669 r27711 282 282 ?> 283 283 </ul> 284 <p><?php printf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name ); ?></p>285 284 <?php 285 update_right_now_message(); 286 286 287 287 // Check if search engines are asked not to index this site. -
trunk/src/wp-admin/includes/update.php
r27369 r27711 222 222 // Called directly from dashboard 223 223 function update_right_now_message() { 224 $msg = sprintf( __( 'You are using <span class="b">WordPress %s</span>.' ), get_bloginfo( 'version', 'display' ) ); 224 $theme_name = wp_get_theme(); 225 if ( current_user_can( 'switch_themes' ) ) { 226 $theme_name = sprintf( '<a href="themes.php">%1$s</a>', $theme_name ); 227 } 228 229 $msg = sprintf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name ); 225 230 226 231 if ( current_user_can('update_core') ) { … … 231 236 } 232 237 233 echo "< span id='wp-version-message'>$msg</span>";238 echo "<p id='wp-version-message'>$msg</p>"; 234 239 } 235 240
Note: See TracChangeset
for help on using the changeset viewer.