mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
hackificator complains if you call include 'file.php' without the parens, needs to be include( 'file.php' )
See #27881. git-svn-id: https://develop.svn.wordpress.org/trunk@28479 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -398,7 +398,7 @@ function wp_theme_update_row( $theme_key, $theme ) {
|
||||
}
|
||||
|
||||
function maintenance_nag() {
|
||||
include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
|
||||
include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
|
||||
global $upgrading;
|
||||
$nag = isset( $upgrading );
|
||||
if ( ! $nag ) {
|
||||
|
||||
Reference in New Issue
Block a user