mirror of
git://develop.git.wordpress.org/
synced 2025-01-31 04:17:57 +01:00
Too many question marks, see #11315
git-svn-id: https://develop.svn.wordpress.org/trunk@12559 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
80d135a608
commit
78dcefaa71
@ -96,7 +96,7 @@ class WP_Scripts extends WP_Dependencies {
|
||||
$ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
|
||||
|
||||
if ( isset($this->args[$handle]) )
|
||||
$ver = $ver ? $ver . '&' . $this->args[$handle] : '?' . $this->args[$handle];
|
||||
$ver = $ver ? $ver . '&' . $this->args[$handle] : $this->args[$handle];
|
||||
|
||||
$src = $this->registered[$handle]->src;
|
||||
|
||||
|
@ -41,7 +41,7 @@ class WP_Styles extends WP_Dependencies {
|
||||
$ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
|
||||
|
||||
if ( isset($this->args[$handle]) )
|
||||
$ver = $ver ? $ver . '&' . $this->args[$handle] : '?' . $this->args[$handle];
|
||||
$ver = $ver ? $ver . '&' . $this->args[$handle] : $this->args[$handle];
|
||||
|
||||
if ( $this->do_concat ) {
|
||||
if ( $this->in_default_dir($this->registered[$handle]->src) && !isset($this->registered[$handle]->extra['conditional']) && !isset($this->registered[$handle]->extra['alt']) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user