Changeset 46124
- Timestamp:
- 09/15/2019 10:35:03 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-dependency.php
r45611 r46124 88 88 * 89 89 * @since 2.6.0 90 * 91 * @param ...$args Dependency information. 90 92 */ 91 public function __construct( ) {92 list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args();93 public function __construct( ...$args ) { 94 list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = $args; 93 95 if ( ! is_array( $this->deps ) ) { 94 96 $this->deps = array();
Note: See TracChangeset
for help on using the changeset viewer.