Code Duplication    Length = 4-7 lines in 2 locations

src/wp-includes/rss.php 2 locations

@@ 163-169 (lines=7) @@
160
			$this->intextinput = true;
161
		}
162
163
		elseif (
164
			$this->feed_type == RSS and
165
			$this->current_namespace == '' and
166
			$el == 'image' )
167
		{
168
			$this->inimage = true;
169
		}
170
171
		# handle atom content constructs
172
		elseif ( $this->feed_type == ATOM and in_array($el, $this->_CONTENT_CONSTRUCTS) )
@@ 244-247 (lines=4) @@
241
		{
242
			$this->intextinput = false;
243
		}
244
		elseif ($this->feed_type == RSS and $this->current_namespace == '' and $el == 'image' )
245
		{
246
			$this->inimage = false;
247
		}
248
		elseif ($this->feed_type == ATOM and in_array($el, $this->_CONTENT_CONSTRUCTS) )
249
		{
250
			$this->incontent = false;