Changeset 9819
- Timestamp:
- 11/20/2008 07:10:31 PM (16 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/feed-atom-comments.php
r9818 r9819 67 67 <updated><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_comment_time('Y-m-d H:i:s', true), false); ?></updated> 68 68 <published><?php echo mysql2date('Y-m-d\TH:i:s\Z', get_comment_time('Y-m-d H:i:s', true), false); ?></published> 69 <?php if ( post_password_required( ) ) : ?>69 <?php if ( post_password_required($comment_post) ) : ?> 70 70 <content type="html" xml:base="<?php comment_link(); ?>"><![CDATA[<?php echo get_the_password_form(); ?>]]></content> 71 71 <?php else : // post pass ?> -
trunk/wp-includes/feed-rss2-comments.php
r8619 r9819 52 52 <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_comment_time('Y-m-d H:i:s', true), false); ?></pubDate> 53 53 <guid isPermaLink="false"><?php comment_guid() ?></guid> 54 <?php if ( !empty($comment_post->post_password) && $_COOKIE['wp-postpass'] != $comment_post->post_password) : ?>54 <?php if ( post_password_required($comment_post) ) : ?> 55 55 <description><?php _e('Protected Comments: Please enter your password to view comments.'); ?></description> 56 56 <content:encoded><![CDATA[<?php echo get_the_password_form() ?>]]></content:encoded>
Note: See TracChangeset
for help on using the changeset viewer.