Make WordPress Core


Ignore:
Timestamp:
05/18/2014 08:51:44 PM (11 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-admin/includes/deprecated.php

    r27261 r28479  
    10711071        add_filter('update_feedback', $feedback);
    10721072
    1073     include ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
     1073    include( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    10741074    $upgrader = new Core_Upgrader();
    10751075    return $upgrader->upgrade($current);
     
    10941094        add_filter('update_feedback', $feedback);
    10951095
    1096     include ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
     1096    include( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    10971097    $upgrader = new Plugin_Upgrader();
    10981098    return $upgrader->upgrade($plugin);
     
    11161116        add_filter('update_feedback', $feedback);
    11171117
    1118     include ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
     1118    include( ABSPATH . 'wp-admin/includes/class-wp-upgrader.php' );
    11191119    $upgrader = new Theme_Upgrader();
    11201120    return $upgrader->upgrade($theme);
Note: See TracChangeset for help on using the changeset viewer.