diff --git wp-includes/class.wp-dependencies.php wp-includes/class.wp-dependencies.php
index c1bac65..692d04e 100644
--- wp-includes/class.wp-dependencies.php
+++ wp-includes/class.wp-dependencies.php
@@ -107,8 +107,11 @@ class WP_Dependencies {
 				 *   <code>add( 'scriptaculous', false, array( 'scriptaculous-dragdrop', 'scriptaculous-slider', 'scriptaculous-controls' ) );</code>
 				 *
 				 * The src property is false.
+				 * 
+				 * If the item has a group set, it may need to be deferred and loaded in the footer.
+				 * If it is put in the done array, the dependencies won't be loaded in the footer.
 				**/
-				if ( ! $this->registered[$handle]->src ) {
+				if ( ( ! $this->registered[$handle]->src && ! isset($this->registered[$handle]->extra['group'] ) ) || ( ! $this->registered[$handle]->src && isset($this->registered[$handle]->extra['group']) && $this->registered[$handle]->extra['group'] == $group ) ) {
 					$this->done[] = $handle;
 					continue;
 				}
