Code Duplication    Length = 5-5 lines in 2 locations

wp-includes/class-wp-xmlrpc-server.php 2 locations

@@ 5020-5024 (lines=5) @@
5017
			$post_content = $post_content . '<!--more-->' . $post_more;
5018
5019
		$to_ping = null;
5020
		if ( isset( $content_struct['mt_tb_ping_urls'] ) ) {
5021
			$to_ping = $content_struct['mt_tb_ping_urls'];
5022
			if ( is_array($to_ping) )
5023
				$to_ping = implode(' ', $to_ping);
5024
		}
5025
5026
		// Do some timestamp voodoo
5027
		if ( !empty( $content_struct['date_created_gmt'] ) )
@@ 5375-5379 (lines=5) @@
5372
			$post_content = $post_content . "<!--more-->" . $post_more;
5373
5374
		$to_ping = null;
5375
		if ( isset( $content_struct['mt_tb_ping_urls'] ) ) {
5376
			$to_ping = $content_struct['mt_tb_ping_urls'];
5377
			if ( is_array($to_ping) )
5378
				$to_ping = implode(' ', $to_ping);
5379
		}
5380
5381
		// Do some timestamp voodoo.
5382
		if ( !empty( $content_struct['date_created_gmt'] ) )