diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 4efc00f389..ff7841aba8 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -6918,7 +6918,9 @@ function wp_get_default_update_php_url() { function wp_update_php_annotation( $before = '

', $after = '

' ) { $annotation = wp_get_update_php_annotation(); - echo $before . $annotation . $after; + if ( $annotation ) { + echo $before . $annotation . $after; + } } /**