Commits

Doug Stewart committed c8f97e3

Quote those strings!

  • Participants
  • Parent commits f1af464

Comments (0)

Files changed (5)

 <?php header("HTTP/1.1 404 Not Found"); ?>
 <?php header("Status: 404 Not Found"); ?>
 <?php
-if (function_exists(afdn_error_page)) {
+if (function_exists('afdn_error_page')) {
 	afdn_error_page(); 
 } else {
 ?>
 	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
 	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
 	<?php if (is_single() or is_page()) {
-		if(function_exists(wp_ozh_yourls_head_linkrel)){
+		if(function_exists('wp_ozh_yourls_head_linkrel')){
 			wp_ozh_yourls_head_linkrel();
 		}
 	?>

File lifestream.php

 	<div id="lb-content">
 	<h3>Lifestream</h3>
 		<?php 
-			if(function_exists(simplelife)){
+			if(function_exists('simplelife')){
 				simplelife();
 			}
 
-			if(function_exists(lifestream)){
+			if(function_exists('lifestream')){
 				lifestream();
 			}
 		?>
 		wp_list_bookmarks(); 
 	}
 	
-	if ((is_single() || is_archive()) && function_exists(related_posts)){ ?>
+	if ((is_single() || is_archive()) && function_exists('related_posts')){ ?>
 	<li><h2>Possibly Related</h2>
 	<?php related_posts(); ?>
 	</li>
 	<?php 
 	}
 	
-	if ((is_single() || is_archive()) && function_exists(wp_related_posts)) {?>
+	if ((is_single() || is_archive()) && function_exists('wp_related_posts')) {?>
 	<li><h2>Possibly Related</h2>
 	<?php wp_related_posts(); ?>
 	</li>
 	 <?php /* Start The Loop */ if (have_posts()) { while (have_posts()) { the_post(); ?>
-		<?php /* Permalink navigation has to be inside the loop */ if (is_single()) include (TEMPLATEPATH . '/navigation.php'); ?>
+		<?php /* Permalink navigation has to be inside the loop */ if (is_single()) get_template_part('navigation'); ?>
 		<?php 
 			$asides_cat_byname = get_option($shortname.'_asides_category');
 			$asides_cat_id = get_cat_id(get_option($shortname.'_asides_category'));
 					<?php if (function_exists('sharethis_button') && (is_home() || is_page() || is_single())) { sharethis_button(); } ?>
 					<div class="postinfo">
 						<span class="postcats">Posted in <?php the_category(', '); ?></span>
-						<?php if(function_exists(the_tags) && is_single()){?>
+						<?php if(function_exists('the_tags') && is_single()){?>
 						<br />
 						<span class="posttags"><?php the_tags('Tagged as: ',','); ?></span>
 					<?php }?>