Code Duplication    Length = 2-2 lines in 2 locations

src/wp-includes/class.wp-styles.php 1 location

@@ 151-152 (lines=2) @@
148
		else
149
			$ver = $obj->ver ? $obj->ver : $this->default_version;
150
151
		if ( isset($this->args[$handle]) )
152
			$ver = $ver ? $ver . '&' . $this->args[$handle] : $this->args[$handle];
153
154
		if ( $this->do_concat ) {
155
			if ( $this->in_default_dir($obj->src) && !isset($obj->extra['conditional']) && !isset($obj->extra['alt']) ) {

src/wp-includes/class.wp-scripts.php 1 location

@@ 264-265 (lines=2) @@
261
			$ver = $obj->ver ? $obj->ver : $this->default_version;
262
		}
263
264
		if ( isset($this->args[$handle]) )
265
			$ver = $ver ? $ver . '&' . $this->args[$handle] : $this->args[$handle];
266
267
		$src = $obj->src;
268
		$cond_before = $cond_after = '';