Ticket #9243: dont_encode_script_ampersands.9243.diff
File dont_encode_script_ampersands.9243.diff, 1003 bytes (added by , 16 years ago) |
---|
-
wp-includes/class.wp-styles.php
102 102 103 103 $src = add_query_arg('ver', $ver, $src); 104 104 $src = apply_filters( 'style_loader_src', $src, $handle ); 105 return clean_url( $src );105 return clean_url( $src , null , '' ); 106 106 } 107 107 108 108 function in_default_dir($src) { -
wp-includes/class.wp-scripts.php
115 115 } 116 116 117 117 $src = add_query_arg('ver', $ver, $src); 118 $src = clean_url(apply_filters( 'script_loader_src', $src, $handle ) );118 $src = clean_url(apply_filters( 'script_loader_src', $src, $handle ), null, ''); 119 119 120 120 if ( $this->do_concat ) 121 121 $this->print_html .= "<script type='text/javascript' src='$src'></script>\n";