Changeset 21420 for trunk/wp-includes/class.wp-dependencies.php
- Timestamp:
- 08/04/2012 05:59:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-dependencies.php
r19593 r21420 246 246 function __construct() { 247 247 @list($this->handle, $this->src, $this->deps, $this->ver, $this->args) = func_get_args(); 248 if ( !is_array($this->deps) ) 248 if ( is_string( $this->deps ) ) 249 $this->deps = array( $this->deps ); 250 elseif ( !is_array( $this->deps ) ) 249 251 $this->deps = array(); 250 252 }
Note: See TracChangeset
for help on using the changeset viewer.