Make WordPress Core


Ignore:
Timestamp:
05/18/2014 08:51:44 PM (10 years ago)
Author:
wonderboymusic
Message:

hackificator complains if you call include 'file.php' without the parens, needs to be include( 'file.php' )

See #27881.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/update.php

    r28145 r28479  
    2626
    2727    global $wpdb, $wp_local_package;
    28     include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
     28    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
    2929    $php_version = phpversion();
    3030
     
    184184 */
    185185function wp_update_plugins( $extra_stats = array() ) {
    186     include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
     186    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
    187187
    188188    if ( defined('WP_INSTALLING') )
     
    323323 */
    324324function wp_update_themes( $extra_stats = array() ) {
    325     include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
     325    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
    326326
    327327    if ( defined( 'WP_INSTALLING' ) )
     
    551551
    552552function _maybe_update_core() {
    553     include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
     553    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
    554554
    555555    $current = get_site_transient( 'update_core' );
Note: See TracChangeset for help on using the changeset viewer.