Notice fix

git-svn-id: https://develop.svn.wordpress.org/trunk@9719 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-15 18:41:27 +00:00
parent 2507bb1602
commit e6dc2f520b
1 changed files with 3 additions and 0 deletions

View File

@ -92,6 +92,9 @@ function core_update_footer( $msg = '' ) {
if ( ! isset( $cur->url ) ) if ( ! isset( $cur->url ) )
$cur->url = ''; $cur->url = '';
if ( ! isset( $cur->response ) )
$cur->response = '';
switch ( $cur->response ) { switch ( $cur->response ) {
case 'development' : 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'); 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');