Changeset 11058
- Timestamp:
- 04/22/2009 09:01:36 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-dependencies.php
r10357 r11058 84 84 $handle_parts = explode('?', $handle); 85 85 $handle = $handle_parts[0]; 86 $queued = in_array($handle, $this->to_do, true); 86 87 87 88 if ( in_array($handle, $this->done, true) ) // Already done 88 89 continue; 89 90 90 $ this->set_group( $handle, $recursion, $group );91 92 if ( in_array($handle, $this->to_do, true) ) // Already grobbed it and its deps91 $moved = $this->set_group( $handle, $recursion, $group ); 92 93 if ( $queued && !$moved ) // already queued and in the right group 93 94 continue; 94 95 if ( isset($handle_parts[1]) )96 $this->args[$handle] = $handle_parts[1];97 95 98 96 $keep_going = true; … … 110 108 continue; // We're at the top level. Move on to the next one. 111 109 } 110 111 if ( $queued ) // Already grobbed it and its deps 112 continue; 113 114 if ( isset($handle_parts[1]) ) 115 $this->args[$handle] = $handle_parts[1]; 112 116 113 117 $this->to_do[] = $handle; -
trunk/wp-includes/class.wp-scripts.php
r10442 r11058 147 147 $grp = $group; 148 148 149 parent::set_group( $handle, $recursion, $grp );149 return parent::set_group( $handle, $recursion, $grp ); 150 150 } 151 151
Note: See TracChangeset
for help on using the changeset viewer.