Code Duplication    Length = 3-3 lines in 2 locations

geodirectory-functions/general_functions.php 2 locations

@@ 4211-4213 (lines=3) @@
4208
        $title = str_replace("%%title%%",$post->post_title,$title);
4209
    }
4210
4211
    if(strpos($title,'%%sitename%%') !== false){
4212
        $title = str_replace("%%sitename%%",get_bloginfo('name'),$title);
4213
    }
4214
4215
    if(strpos($title,'%%sitedesc%%') !== false){
4216
        $title = str_replace("%%sitedesc%%",get_bloginfo('description'),$title);
@@ 4215-4217 (lines=3) @@
4212
        $title = str_replace("%%sitename%%",get_bloginfo('name'),$title);
4213
    }
4214
4215
    if(strpos($title,'%%sitedesc%%') !== false){
4216
        $title = str_replace("%%sitedesc%%",get_bloginfo('description'),$title);
4217
    }
4218
4219
    if(strpos($title,'%%excerpt%%') !== false){
4220
        $title = str_replace("%%excerpt%%",strip_tags(get_the_excerpt()),$title);