diff --git a/wp-activate.php b/wp-activate.php index cce96dc57c..22d69acf60 100644 --- a/wp-activate.php +++ b/wp-activate.php @@ -128,4 +128,4 @@ get_header(); var key_input = document.getElementById('key'); key_input && key_input.focus(); - + $label ) - echo "\t\n"; + echo "\t" . '\n"; ?> errors = new WP_Error(); // Check if possible to use ftp functions. - if ( ! @include_once ABSPATH . 'wp-admin/includes/class-ftp.php' ) - return false; + if ( ! @include_once( ABSPATH . 'wp-admin/includes/class-ftp.php' ) ) { + return false; + } $this->ftp = new ftp(); if ( empty($opt['port']) ) diff --git a/wp-admin/includes/class-wp-list-table.php b/wp-admin/includes/class-wp-list-table.php index 53a84ffa52..76552d08fe 100644 --- a/wp-admin/includes/class-wp-list-table.php +++ b/wp-admin/includes/class-wp-list-table.php @@ -421,7 +421,7 @@ class WP_List_Table { $m = isset( $_GET['m'] ) ? (int) $_GET['m'] : 0; ?> diff --git a/wp-includes/update.php b/wp-includes/update.php index ee7434fffd..797358dd04 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -459,8 +459,8 @@ function wp_update_themes( $extra_stats = array() ) { * @since 3.7.0 */ function wp_maybe_auto_update() { - include_once ABSPATH . '/wp-admin/includes/admin.php'; - include_once ABSPATH . '/wp-admin/includes/class-wp-upgrader.php'; + include_once( ABSPATH . '/wp-admin/includes/admin.php' ); + include_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' ); $upgrader = new WP_Automatic_Updater; $upgrader->run();