diff --git a/wp-includes/class.wp-dependencies.php b/wp-includes/class.wp-dependencies.php index a0d68c97a3..2ba28b024b 100644 --- a/wp-includes/class.wp-dependencies.php +++ b/wp-includes/class.wp-dependencies.php @@ -384,10 +384,11 @@ class WP_Dependencies { public function set_group( $handle, $recursion, $group ) { $group = (int) $group; - if ( $recursion ) - $group = min($this->group, $group); - else - $this->group = $group; + if ( $recursion ) { + $group = min( $this->group, $group ); + } + + $this->group = $group; if ( isset($this->groups[$handle]) && $this->groups[$handle] <= $group ) return false; diff --git a/wp-includes/version.php b/wp-includes/version.php index 802d4340a0..a966aa0856 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36603'; +$wp_version = '4.5-alpha-36604'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.