Ticket #20683: 20683.3.diff
File 20683.3.diff, 698 bytes (added by , 13 years ago) |
---|
-
wp-includes/class.wp-dependencies.php
247 247 var $extra = array(); 248 248 249 249 function __construct() { 250 @list($this->handle, $this->src, $this->deps, $this->ver, $this->args) = func_get_args(); 251 if ( is_string( $this->deps ) && ! empty( $this->deps ) ) 252 $this->deps = array( $this->deps ); 253 elseif ( !is_array( $this->deps ) ) 250 @list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args(); 251 if ( ! is_array($this->deps) ) 254 252 $this->deps = array(); 255 253 } 256 254