WordPress.org

Make WordPress Core

Ticket #11739: wp-admin_includes_update.php

File wp-admin_includes_update.php, 716 bytes (added by dtoj, 4 years ago)
Line 
1Index: wp-admin/includes/update.php
2===================================================================
3--- wp-admin/includes/update.php        (revision 12605)
4+++ wp-admin/includes/update.php        (working copy)
5@@ -126,7 +126,7 @@
6                return false;
7 
8        if ( current_user_can('manage_options') )
9-               $msg = sprintf( __('WordPress %1$s is available! <a href="%2$s">Please update now</a>.'), $cur->current, 'update-core.php' );
10+               $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' );
11        else
12                $msg = sprintf( __('WordPress %1$s is available! Please notify the site administrator.'), $cur->current );
13