mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7,6 +7,11 @@ function core_update_footer( $msg = '' ) {
|
||||
return sprintf( '| '.__( 'Version %s' ), $GLOBALS['wp_version'] );
|
||||
|
||||
$cur = get_option( 'update_core' );
|
||||
if ( ! isset( $cur->current ) )
|
||||
$cur->current = '';
|
||||
|
||||
if ( ! isset( $cur->url ) )
|
||||
$cur->url = '';
|
||||
|
||||
switch ( $cur->response ) {
|
||||
case 'development' :
|
||||
|
||||
Reference in New Issue
Block a user