+
+ function do_head_items() {
+ $this->do_items(false, 0);
+ return $this->done;
+ }
+
+ function do_footer_items() {
+ if ( !empty($this->in_footer) ) {
+ foreach( $this->in_footer as $key => $handle ) {
+ if ( !in_array($handle, $this->done, true) && isset($this->registered[$handle]) ) {
+ $this->do_item($handle);
+ $this->done[] = $handle;
+ unset( $this->in_footer[$key] );
+ }
+ }
+ }
+ return $this->done;
+ }
+
+ function in_default_dir($src) {
+ if ( ! $this->default_dirs )
+ return true;
+
+ if ( 0 === strpos( $src, '/wp-includes/js/l10n' ) )
+ return false;
+
+ foreach ( (array) $this->default_dirs as $test ) {
+ if ( 0 === strpos($src, $test) )
+ return true;
+ }
+ return false;
+ }
+
+ function reset() {
+ $this->do_concat = false;
+ $this->print_code = '';
+ $this->concat = '';
+ $this->concat_version = '';
+ $this->print_html = '';
+ $this->ext_version = '';
+ $this->ext_handles = '';
+ }