Notice fix

git-svn-id: http://svn.automattic.com/wordpress/trunk@9719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-15 18:41:27 +00:00
parent 9d192618f4
commit 9d6e621b2d
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ function core_update_footer( $msg = '' ) {
if ( ! isset( $cur->url ) )
$cur->url = '';
if ( ! isset( $cur->response ) )
$cur->response = '';
switch ( $cur->response ) {
case 'development' :
return sprintf( __( 'You are using a development version (%1$s). Cool! Please <a href="%2$s">stay updated</a>.' ), $GLOBALS['wp_version'], 'update-core.php');