From 77706e5c74f553758d3d182e6b358fcd180baa28 Mon Sep 17 00:00:00 2001 From: azaozz Date: Mon, 28 Dec 2009 00:56:41 +0000 Subject: [PATCH] Too many question marks, see #11315 git-svn-id: http://svn.automattic.com/wordpress/trunk@12559 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class.wp-scripts.php | 2 +- wp-includes/class.wp-styles.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/class.wp-scripts.php b/wp-includes/class.wp-scripts.php index ea9123695..45d2e54cb 100644 --- a/wp-includes/class.wp-scripts.php +++ b/wp-includes/class.wp-scripts.php @@ -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; diff --git a/wp-includes/class.wp-styles.php b/wp-includes/class.wp-styles.php index 2d8139d83..83b4addbc 100644 --- a/wp-includes/class.wp-styles.php +++ b/wp-includes/class.wp-styles.php @@ -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']) ) {