Changeset 10442 for trunk/wp-includes/class.wp-scripts.php
- Timestamp:
- 01/26/2009 12:59:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class.wp-scripts.php
r10367 r10442 27 27 var $print_html = ''; 28 28 var $print_code = ''; 29 var $src = ''; 29 var $ext_handles = ''; 30 var $ext_version = ''; 30 31 var $default_dirs; 31 32 … … 100 101 if ( $this->in_default_dir($srce) ) { 101 102 $this->print_code .= $this->print_scripts_l10n( $handle, false ); 102 $this->concat .= $handle . ',';103 $this->concat_version .= $ver;103 $this->concat .= "$handle,"; 104 $this->concat_version .= "$handle$ver"; 104 105 return true; 106 } else { 107 $this->ext_handles .= "$handle,"; 108 $this->ext_version .= "$handle$ver"; 105 109 } 106 110 } … … 111 115 } 112 116 113 $this->src .= "$src,";114 117 $src = add_query_arg('ver', $ver, $src); 115 118 $src = clean_url(apply_filters( 'script_loader_src', $src, $handle )); … … 147 150 } 148 151 149 function all_deps( $handles, $recursion = false ) {152 function all_deps( $handles, $recursion = false, $group = false ) { 150 153 $r = parent::all_deps( $handles, $recursion ); 151 154 if ( !$recursion ) … … 182 185 return false; 183 186 } 187 188 function reset() { 189 $this->do_concat = false; 190 $this->print_code = ''; 191 $this->concat = ''; 192 $this->concat_version = ''; 193 $this->print_html = ''; 194 $this->ext_version = ''; 195 $this->ext_handles = ''; 196 } 184 197 }
Note: See TracChangeset
for help on using the changeset viewer.