Removed global $siteurl and $blogfilename, use get_settings. Syntax fix for wp-db.

git-svn-id: https://develop.svn.wordpress.org/trunk@945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg
2004-02-26 16:15:48 +00:00
parent f7310ec845
commit 22ed64e4ec
27 changed files with 131 additions and 131 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ require_once("wp-blog-header.php");
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
</head>
<body>
<h1 id="header"><a href="<?php echo $siteurl; ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<h1 id="header"><a href="<?php echo get_settings('siteurl'); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a></h1>
<!-- // loop start -->
<?php foreach ($posts as $post) { start_wp(); ?>