Changeset 18446 for trunk/wp-includes/class.wp-scripts.php
- Timestamp:
- 07/21/2011 04:32:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-scripts.php
r16469 r18446 168 168 169 169 function do_footer_items() { 170 if ( !empty($this->in_footer) ) { 171 foreach( $this->in_footer as $key => $handle ) { 172 if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) { 173 $this->do_item($handle); 174 $this->done[] = $handle; 175 unset( $this->in_footer[$key] ); 176 } 177 } 178 } 170 $this->do_items(false, 1); 179 171 return $this->done; 180 172 }
Note: See TracChangeset
for help on using the changeset viewer.