Make WordPress Core


Ignore:
Timestamp:
04/17/2009 05:30:09 AM (17 years ago)
Author:
ryan
Message:

Use comments_open() and pings_open() in packaged themes. Props coffee2code. fixes #9556

File:
1 edited

Legend:

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

    r9336 r10978  
    3030<p><a href="<?php echo get_post_comments_feed_link($post->ID); ?>"><abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.</a></p>
    3131
    32 <?php if ('open' == $post->ping_status) { ?>
     32<?php if ( pings_open() ) { ?>
    3333<p>The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em><?php trackback_url() ?></em></p>
    3434<?php } ?>
     
    5858<?php } ?>
    5959
    60 <?php if ('open' == $post->comment_status) { ?>
     60<?php if ( comments_open() ) { ?>
    6161<h2>Leave a comment</h2>
    6262<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>
Note: See TracChangeset for help on using the changeset viewer.