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