mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-22 08:11:52 +01:00
Remove unused var
git-svn-id: http://svn.automattic.com/wordpress/trunk@10358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fc7d871678
commit
3d495ac587
@ -95,7 +95,7 @@ class WP_Scripts extends WP_Dependencies {
|
|||||||
$src = $this->registered[$handle]->src;
|
$src = $this->registered[$handle]->src;
|
||||||
|
|
||||||
if ( $this->do_concat ) {
|
if ( $this->do_concat ) {
|
||||||
$srce = apply_filters( 'script_loader_src', $src, $handle, $echo );
|
$srce = apply_filters( 'script_loader_src', $src, $handle );
|
||||||
if ( $this->in_default_dir($srce) ) {
|
if ( $this->in_default_dir($srce) ) {
|
||||||
$this->print_code .= $this->print_scripts_l10n( $handle, false );
|
$this->print_code .= $this->print_scripts_l10n( $handle, false );
|
||||||
$this->concat .= $handle . ',';
|
$this->concat .= $handle . ',';
|
||||||
@ -110,7 +110,7 @@ class WP_Scripts extends WP_Dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$src = add_query_arg('ver', $ver, $src);
|
$src = add_query_arg('ver', $ver, $src);
|
||||||
$src = clean_url(apply_filters( 'script_loader_src', $src, $handle, $echo ));
|
$src = clean_url(apply_filters( 'script_loader_src', $src, $handle ));
|
||||||
|
|
||||||
if ( $this->do_concat )
|
if ( $this->do_concat )
|
||||||
$this->print_html .= "<script type='text/javascript' src='$src'></script>\n";
|
$this->print_html .= "<script type='text/javascript' src='$src'></script>\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user