Changeset 31928
- Timestamp:
- 03/30/2015 12:49:38 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/dashboard.css
r31422 r31928 353 353 354 354 #dashboard_right_now #wp-version-message .button { 355 clear: right;356 355 float: right; 357 356 position: relative; 358 357 top: -5px; 358 margin-left: 5px; 359 359 } 360 360 -
trunk/src/wp-admin/includes/update.php
r31333 r31928 222 222 } 223 223 224 $msg = sprintf( __( 'WordPress %1$s running %2$s theme.' ), get_bloginfo( 'version', 'display' ), $theme_name );224 $msg = ''; 225 225 226 226 if ( current_user_can('update_core') ) { … … 228 228 229 229 if ( isset( $cur->response ) && $cur->response == 'upgrade' ) 230 $msg .= " <a href='" . network_admin_url( 'update-core.php' ) . "' class='button'>" . sprintf( __('Update to %s'), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a>'; 231 } 230 $msg .= '<a href="' . network_admin_url( 'update-core.php' ) . '" class="button" aria-describedby="wp-version">' . sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a> '; 231 } 232 233 $msg .= sprintf( '<span id="wp-version">' . __( 'WordPress %1$s running %2$s theme.' ) . '</span>', get_bloginfo( 'version', 'display' ), $theme_name ); 232 234 233 235 echo "<p id='wp-version-message'>$msg</p>";
Note: See TracChangeset
for help on using the changeset viewer.