Permalink
Browse files

changed bloginfo('url') to echo home_url()

Recommended: bloginfo('url') was found in the file 404.php. Use echo home_url() instead
  • Loading branch information...
1 parent f6d97f4 commit 658a3ed81bfa9dcf6d804ab67b496875bfba9d20 @slambert committed Dec 7, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 404.php
  2. +1 −1 header.php
View
@@ -18,7 +18,7 @@
<p>You can click back and try again OR search for what you're looking for:</p>
-<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+<form method="get" id="searchform" action="<?php echo home_url(); ?>/">
<div class="search">
<input type="text" value="<?php the_search_query(); ?>" name="s" id="s" />
<input type="submit" id="searchsubmit" value="Search" />
View
@@ -38,7 +38,7 @@
<?php } else if (is_page("")) { } ?>
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
-<link href="<?php bloginfo('url');?>/?wp_folio_css=css" rel="stylesheet" type="text/css" />
+<link href="<?php echo home_url();?>/?wp_folio_css=css" rel="stylesheet" type="text/css" />
<!-- calling wp_head -->

0 comments on commit 658a3ed

Please sign in to comment.