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-includes/script-loader.php

    r28336 r28479  
    4949 */
    5050function wp_default_scripts( &$scripts ) {
    51     include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
     51    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
    5252
    5353    $develop_src = false !== strpos( $wp_version, '-src' );
     
    558558 */
    559559function wp_default_styles( &$styles ) {
    560     include ABSPATH . WPINC . '/version.php'; // include an unmodified $wp_version
     560    include( ABSPATH . WPINC . '/version.php' ); // include an unmodified $wp_version
    561561
    562562    if ( ! defined( 'SCRIPT_DEBUG' ) )
Note: See TracChangeset for help on using the changeset viewer.