Notice fix
git-svn-id: https://develop.svn.wordpress.org/trunk@9719 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2507bb1602
commit
e6dc2f520b
|
@ -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');
|
||||||
|
|
Loading…
Reference in New Issue