Ticket #3986: trunk_wp-includes_m-z.diff
File trunk_wp-includes_m-z.diff, 700 bytes (added by , 18 years ago) |
---|
-
script-loader.php
150 150 $ver .= '&' . $this->args[$handle]; 151 151 $src = 0 === strpos($this->scripts[$handle]->src, 'http://') ? $this->scripts[$handle]->src : get_option( 'siteurl' ) . $this->scripts[$handle]->src; 152 152 $src = add_query_arg('ver', $ver, $src); 153 $src = attribute_escape(apply_filters( 'script_loader_src', $src ));153 $src = clean_url(apply_filters( 'script_loader_src', $src )); 154 154 echo "<script type='text/javascript' src='$src'></script>\n"; 155 155 $this->print_scripts_l10n( $handle ); 156 156 }