Archived
Updates
This commit is contained in:
1 parent
70d2335bba
commit
7428b67da5
1086 files changed
+94145
-59082
No files matched your search
@@ -89,7 +89,7 @@ class WP_Dependencies {
|
||||
* @return array Handles of items that have been processed.
|
||||
*/
|
||||
public function do_items( $handles = false, $group = false ) {
|
||||
/**
|
||||
/*
|
||||
* If nothing is passed, print the queue. If a string is passed,
|
||||
* print that item. If an array is passed, print those items.
|
||||
*/
|
||||
@@ -99,7 +99,7 @@ class WP_Dependencies {
|
||||
foreach( $this->to_do as $key => $handle ) {
|
||||
if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) {
|
||||
|
||||
/**
|
||||
/*
|
||||
* A single item may alias a set of items, by having dependencies,
|
||||
* but no source. Queuing the item queues the dependencies.
|
||||
*
|
||||
@@ -107,13 +107,13 @@ class WP_Dependencies {
|
||||
* <code>add( 'scriptaculous', false, array( 'scriptaculous-dragdrop', 'scriptaculous-slider', 'scriptaculous-controls' ) );</code>
|
||||
*
|
||||
* The src property is false.
|
||||
**/
|
||||
*/
|
||||
if ( ! $this->registered[$handle]->src ) {
|
||||
$this->done[] = $handle;
|
||||
continue;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Attempt to process the item. If successful,
|
||||
* add the handle to the done array.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user