Code Duplication    Length = 3-3 lines in 2 locations

geodirectory-functions/general_functions.php 2 locations

@@ 4592-4594 (lines=3) @@
4589
		$title = str_replace( "%%title%%", $post->post_title, $title );
4590
	}
4591
4592
	if ( strpos( $title, '%%sitename%%' ) !== false ) {
4593
		$title = str_replace( "%%sitename%%", get_bloginfo( 'name' ), $title );
4594
	}
4595
4596
	if ( strpos( $title, '%%sitedesc%%' ) !== false ) {
4597
		$title = str_replace( "%%sitedesc%%", get_bloginfo( 'description' ), $title );
@@ 4596-4598 (lines=3) @@
4593
		$title = str_replace( "%%sitename%%", get_bloginfo( 'name' ), $title );
4594
	}
4595
4596
	if ( strpos( $title, '%%sitedesc%%' ) !== false ) {
4597
		$title = str_replace( "%%sitedesc%%", get_bloginfo( 'description' ), $title );
4598
	}
4599
4600
	if ( strpos( $title, '%%excerpt%%' ) !== false ) {
4601
		$title = str_replace( "%%excerpt%%", strip_tags( get_the_excerpt() ), $title );