mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Too many question marks, see #11315
git-svn-id: http://svn.automattic.com/wordpress/trunk@12559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7b40c7a03f
commit
77706e5c74
@ -96,7 +96,7 @@ class WP_Scripts extends WP_Dependencies {
|
|||||||
$ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
|
$ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
|
||||||
|
|
||||||
if ( isset($this->args[$handle]) )
|
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;
|
$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;
|
$ver = $this->registered[$handle]->ver ? $this->registered[$handle]->ver : $this->default_version;
|
||||||
|
|
||||||
if ( isset($this->args[$handle]) )
|
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->do_concat ) {
|
||||||
if ( $this->in_default_dir($this->registered[$handle]->src) && !isset($this->registered[$handle]->extra['conditional']) && !isset($this->registered[$handle]->extra['alt']) ) {
|
if ( $this->in_default_dir($this->registered[$handle]->src) && !isset($this->registered[$handle]->extra['conditional']) && !isset($this->registered[$handle]->extra['alt']) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user