diff --git wp-includes/class.wp-dependencies.php wp-includes/class.wp-dependencies.php
index c1bac65..692d04e 100644
|
|
|
class WP_Dependencies { |
| 107 | 107 | * <code>add( 'scriptaculous', false, array( 'scriptaculous-dragdrop', 'scriptaculous-slider', 'scriptaculous-controls' ) );</code> |
| 108 | 108 | * |
| 109 | 109 | * The src property is false. |
| | 110 | * |
| | 111 | * If the item has a group set, it may need to be deferred and loaded in the footer. |
| | 112 | * If it is put in the done array, the dependencies won't be loaded in the footer. |
| 110 | 113 | **/ |
| 111 | | if ( ! $this->registered[$handle]->src ) { |
| | 114 | 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 ) ) { |
| 112 | 115 | $this->done[] = $handle; |
| 113 | 116 | continue; |
| 114 | 117 | } |