Index: wp-includes/class.wp-dependencies.php
===================================================================
--- wp-includes/class.wp-dependencies.php	(revision 24529)
+++ wp-includes/class.wp-dependencies.php	(working copy)
@@ -38,7 +38,22 @@
 		$handles = false === $handles ? $this->queue : (array) $handles;
 		$this->all_deps( $handles );
 
+		// Move any (localization) data from group (alias) handles to the first dependency in the group
 		foreach( $this->to_do as $key => $handle ) {
+			if ( ! in_array( $handle, $this->done, true ) && isset( $this->registered[$handle] ) && ! $this->registered[$handle]->src
+				&& ( $handle_data = $this->get_data( $handle, 'data' ) ) && ! empty( $this->registered[$handle]->deps ) ) {
+
+				$first_dep = $this->registered[$handle]->deps[0];
+				// The first dependency data has priority over the handle data (printed after)
+				if ( $first_dep_data = $this->get_data( $first_dep, 'data' ) )
+					$handle_data = "$handle_data\n$first_dep_data";
+
+				$this->add_data( $first_dep, 'data', $handle_data );
+				unset( $this->registered[$handle]->extra['data'] );
+			}
+		}
+
+		foreach( $this->to_do as $key => $handle ) {
 			if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) {
 
 				if ( ! $this->registered[$handle]->src ) { // Defines a group.
