Changeset 47122 for trunk/src/wp-includes/class.wp-dependencies.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class.wp-dependencies.php
r46661 r47122 153 153 $queued = in_array( $handle, $this->to_do, true ); 154 154 155 if ( in_array( $handle, $this->done, true ) ) { // Already done 155 if ( in_array( $handle, $this->done, true ) ) { // Already done. 156 156 continue; 157 157 } … … 160 160 $new_group = $this->groups[ $handle ]; 161 161 162 if ( $queued && ! $moved ) { // already queued and in the right group162 if ( $queued && ! $moved ) { // Already queued and in the right group. 163 163 continue; 164 164 } … … 365 365 switch ( $list ) { 366 366 case 'registered': 367 case 'scripts': // back compat367 case 'scripts': // Back compat. 368 368 if ( isset( $this->registered[ $handle ] ) ) { 369 369 return $this->registered[ $handle ]; … … 379 379 380 380 case 'to_do': 381 case 'to_print': // back compat381 case 'to_print': // Back compat. 382 382 return in_array( $handle, $this->to_do ); 383 383 384 384 case 'done': 385 case 'printed': // back compat385 case 'printed': // Back compat. 386 386 return in_array( $handle, $this->done ); 387 387 }
Note: See TracChangeset
for help on using the changeset viewer.