Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-includes/class.wp-scripts.php

    r20000 r21134  
    3232
    3333    function __construct() {
    34         if ( ! function_exists( 'did_action' ) || did_action( 'init' ) )
    35             $this->init();
    36         else
    37             add_action( 'init', array( $this, 'init' ), 0 );
     34        $this->init();
     35        add_action( 'init', array( $this, 'init' ), 0 );
    3836    }
    3937
Note: See TracChangeset for help on using the changeset viewer.