Make WordPress Core


Ignore:
Timestamp:
02/20/2010 12:28:10 PM (12 years ago)
Author:
nacin
Message:

Add links to the codex changelog in update notification strings. props dtoj, see #11739

File:
1 edited

Legend:

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

    r12753 r13250  
    131131
    132132    if ( current_user_can('update_core') )
    133         $msg = sprintf( __('WordPress %1$s is available! <a href="%2$s">Please update now</a>.'), $cur->current, 'update-core.php' );
     133        $msg = sprintf( __('<a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! <a href="%2$s">Please update now</a>.'), $cur->current, 'update-core.php' );
    134134    else
    135         $msg = sprintf( __('WordPress %1$s is available! Please notify the site administrator.'), $cur->current );
     135        $msg = sprintf( __('<a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> is available! Please notify the site administrator.'), $cur->current );
    136136
    137137    echo "<div id='update-nag'>$msg</div>";
Note: See TracChangeset for help on using the changeset viewer.