+
+ function do_head_items() {
+ $this->do_items(false, 0);
+ return $this->done;
+ }
+
+ function do_footer_items() {
+ $this->do_items(false, 1);
+ 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 = '';
+ }