Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r4144 r3115  
    77<html xmlns="http://www.w3.org/1999/xhtml">
    88<head>
    9      <title><?php echo get_option('blogname'); ?> - Comments on <?php the_title(); ?></title>
     9     <title><?php echo get_settings('blogname'); ?> - Comments on <?php the_title(); ?></title>
    1010
    11     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
     11    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
    1212    <style type="text/css" media="screen">
    1313        @import url( <?php bloginfo('stylesheet_url'); ?> );
     
    1818<body id="commentspopup">
    1919
    20 <h1 id="header"><a href="" title="<?php echo get_option('blogname'); ?>"><?php echo get_option('blogname'); ?></a></h1>
     20<h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1>
    2121
    2222<h2 id="comments">Comments</h2>
    2323
    24 <p><a href="<?php echo get_option('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
     24<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
    2525
    2626<?php if ('open' == $post->ping_status) { ?>
    27 <p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
     27<p>The <acronym title="Uniform Resource Identifier">URI</acronym> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
    2828<?php } ?>
    2929
    3030<?php
    3131// this line is WordPress' motor, do not delete it.
    32 $commenter = wp_get_current_commenter();
    33 extract($commenter);
     32$comment_author = (isset($_COOKIE['comment_author_' . COOKIEHASH])) ? trim($_COOKIE['comment_author_'. COOKIEHASH]) : '';
     33$comment_author_email = (isset($_COOKIE['comment_author_email_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_email_'. COOKIEHASH]) : '';
     34$comment_author_url = (isset($_COOKIE['comment_author_url_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_url_'. COOKIEHASH]) : '';
    3435$comments = get_approved_comments($id);
    3536$post = get_post($id);
     
    5657<p>Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code><?php echo allowed_tags(); ?></code></p>
    5758
    58 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
     59<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    5960    <p>
    6061      <input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
     
    7172    <p>
    7273      <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
    73        <label for="url"><abbr title="Universal Resource Locator">URL</abbr></label>
     74       <label for="url"><acronym title="Uniform Resource Identifier">URI</acronym></label>
    7475    </p>
    7576
     
    103104<script type="text/javascript">
    104105<!--
    105 document.onkeypress = function esc(e) {
     106document.onkeypress = function esc(e) { 
    106107    if(typeof(e) == "undefined") { e=event; }
    107108    if (e.keyCode == 27) { self.close(); }
Note: See TracChangeset for help on using the changeset viewer.