WordPress.org

Make WordPress Core

Changeset 19872


Ignore:
Timestamp:
02/08/2012 04:15:24 PM (6 years ago)
Author:
nacin
Message:

Coverage for load-scripts.php. fixes #19959.

File:
1 edited

Legend:

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

    r19865 r19872  
    3232
    3333    function __construct() {
    34         if ( did_action( 'init' ) )
     34        if ( ! function_exists( 'did_action' ) || did_action( 'init' ) )
    3535            $this->init();
    3636        else
Note: See TracChangeset for help on using the changeset viewer.