Code Duplication    Length = 6-6 lines in 2 locations

src/wp-includes/class-simplepie.php 2 locations

@@ 3000-3005 (lines=6) @@
2997
	 */
2998
	public function __call($method, $args)
2999
	{
3000
		if (strpos($method, 'subscribe_') === 0)
3001
		{
3002
			$level = defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_WARNING;
3003
			trigger_error('subscribe_*() has been deprecated, implement the callback yourself', $level);
3004
			return '';
3005
		}
3006
		if ($method === 'enable_xml_dump')
3007
		{
3008
			$level = defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_WARNING;
@@ 3006-3011 (lines=6) @@
3003
			trigger_error('subscribe_*() has been deprecated, implement the callback yourself', $level);
3004
			return '';
3005
		}
3006
		if ($method === 'enable_xml_dump')
3007
		{
3008
			$level = defined('E_USER_DEPRECATED') ? E_USER_DEPRECATED : E_USER_WARNING;
3009
			trigger_error('enable_xml_dump() has been deprecated, use get_raw_data() instead', $level);
3010
			return false;
3011
		}
3012
3013
		$class = get_class($this);
3014
		$trace = debug_backtrace();