Make WordPress Core


Ignore:
Timestamp:
02/26/2004 04:15:48 PM (21 years ago)
Author:
saxmatt
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-comments-popup.php

    r880 r945  
    2424<h2 id="comments">Comments</h2>
    2525
    26 <p><a href="<?php echo $siteurl; ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>">RSS feed for comments on this post.</a></p>
     26<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>">RSS feed for comments on this post.</a></p>
    2727
    2828<?php if ('open' == $post->ping_status) { ?>
     
    5959<p>Line and paragraph breaks automatic, website trumps email, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
    6060
    61 <form action="<?php echo $siteurl; ?>/wp-comments-post.php" method="post" id="commentform">
     61<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    6262    <p>
    6363      <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
Note: See TracChangeset for help on using the changeset viewer.