Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (6 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-blog-header.php

    r42201 r42343  
    66 */
    77
    8 if ( !isset($wp_did_header) ) {
     8if ( ! isset( $wp_did_header ) ) {
    99
    1010    $wp_did_header = true;
    1111
    1212    // Load the WordPress library.
    13     require_once( dirname(__FILE__) . '/wp-load.php' );
     13    require_once( dirname( __FILE__ ) . '/wp-load.php' );
    1414
    1515    // Set up the WordPress query.
Note: See TracChangeset for help on using the changeset viewer.