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:
Andrew Ozz 2009-12-28 00:56:41 +00:00
parent 80d135a608
commit 78dcefaa71
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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']) ) {