Ticket #20683: 20683.2.diff
File 20683.2.diff, 515 bytes (added by , 13 years ago) |
---|
-
class.wp-dependencies.php
245 245 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 } 251 253