diff --git a/wp-includes/class-wp-dependency.php b/wp-includes/class-wp-dependency.php index fc8099d5b9..12a3b94634 100644 --- a/wp-includes/class-wp-dependency.php +++ b/wp-includes/class-wp-dependency.php @@ -87,9 +87,11 @@ class _WP_Dependency { * Setup dependencies. * * @since 2.6.0 + * + * @param ...$args Dependency information. */ - public function __construct() { - list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = func_get_args(); + public function __construct( ...$args ) { + list( $this->handle, $this->src, $this->deps, $this->ver, $this->args ) = $args; if ( ! is_array( $this->deps ) ) { $this->deps = array(); } diff --git a/wp-includes/version.php b/wp-includes/version.php index c3ce673c8f..37f561aa71 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46123'; +$wp_version = '5.3-alpha-46124'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.