PHP 8.2.29
Preview: feed-rss2-comments.php Size: 4.04 KB
/home/medyaist/alnujumkirkuk.com/wp-includes/feed-rss2-comments.php
<?php
/**
 * RSS2 Feed Template for displaying RSS2 Comments feed.
 *
 * @package WordPress
 */

header( 'Content-Type: ' . feed_content_type( 'rss2' ) . '; charset=' . get_option( 'blog_charset' ), true );

echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>';

/** This action is documented in wp-includes/feed-rss2.php */
do_action( 'rss_tag_pre', 'rss2-comments' );
?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	<?php
	/** This action is documented in wp-includes/feed-rss2.php */
	do_action( 'rss2_ns' );
	?>

	<?php
	/**
	 * Fires at the end of the RSS root to add namespaces.
	 *
	 * @since 2.8.0
	 */
	do_action( 'rss2_comments_ns' );
	?>
>
<channel>
	<title>
	<?php
	if ( is_singular() ) {
		/* translators: Comments feed title. %s: Post title. */
		printf( ent2ncr( __( 'Comments on: %s' ) ), get_the_title_rss() );
	} elseif ( is_search() ) {
		/* translators: Comments feed title. 1: Site title, 2: Search query. */
		printf( ent2ncr( __( 'Comments for %1$s searching on %2$s' ) ), get_bloginfo_rss( 'name' ), get_search_query() );
	} else {
		/* translators: Comments feed title. %s: Site title. */
		printf( ent2ncr( __( 'Comments for %s' ) ), get_wp_title_rss() );
	}
	?>
	</title>
	<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
	<link><?php ( is_single() ) ? the_permalink_rss() : bloginfo_rss( 'url' ); ?></link>
	<description><?php bloginfo_rss( 'description' ); ?></description>
	<lastBuildDate><?php echo get_feed_build_date( 'r' ); ?></lastBuildDate>
	<sy:updatePeriod>
	<?php
		/** This filter is documented in wp-includes/feed-rss2.php */
		echo apply_filters( 'rss_update_period', 'hourly' );
	?>
	</sy:updatePeriod>
	<sy:updateFrequency>
	<?php
		/** This filter is documented in wp-includes/feed-rss2.php */
		echo apply_filters( 'rss_update_frequency', '1' );
	?>
	</sy:updateFrequency>
	<?php
	/**
	 * Fires at the end of the RSS2 comment feed header.
	 *
	 * @since 2.3.0
	 */
	do_action( 'commentsrss2_head' );

	while ( have_comments() ) :
		the_comment();
		$comment_post = get_post( $comment->comment_post_ID );
		/**
		 * @global WP_Post $post Global post object.
		 */
		$GLOBALS['post'] = $comment_post;
		?>
	<item>
		<title>
		<?php
		if ( ! is_singular() ) {
			$title = get_the_title( $comment_post->ID );
			/** This filter is documented in wp-includes/feed.php */
			$title = apply_filters( 'the_title_rss', $title );
			/* translators: Individual comment title. 1: Post title, 2: Comment author name. */
			printf( ent2ncr( __( 'Comment on %1$s by %2$s' ) ), $title, get_comment_author_rss() );
		} else {
			/* translators: Comment author title. %s: Comment author name. */
			printf( ent2ncr( __( 'By: %s' ) ), get_comment_author_rss() );
		}
		?>
		</title>
		<link><?php comment_link(); ?></link>

		<dc:creator><![CDATA[<?php echo get_comment_author_rss(); ?>]]></dc:creator>
		<pubDate><?php echo mysql2date( 'D, d M Y H:i:s +0000', get_comment_time( 'Y-m-d H:i:s', true, false ), false ); ?></pubDate>
		<guid isPermaLink="false"><?php comment_guid(); ?></guid>

		<?php if ( post_password_required( $comment_post ) ) : ?>
			<description><?php echo ent2ncr( __( 'Protected Comments: Please enter your password to view comments.' ) ); ?></description>
			<content:encoded><![CDATA[<?php echo get_the_password_form(); ?>]]></content:encoded>
		<?php else : ?>
			<description><![CDATA[<?php comment_text_rss(); ?>]]></description>
			<content:encoded><![CDATA[<?php comment_text(); ?>]]></content:encoded>
		<?php endif; // End if post_password_required(). ?>

		<?php
		/**
		 * Fires at the end of each RSS2 comment feed item.
		 *
		 * @since 2.1.0
		 *
		 * @param int $comment_id      The ID of the comment being displayed.
		 * @param int $comment_post_id The ID of the post the comment is connected to.
		 */
		do_action( 'commentrss2_item', $comment->comment_ID, $comment_post->ID );
		?>
	</item>
	<?php endwhile; ?>
</channel>
</rss>

Directory Contents

Dirs: 29 × Files: 93
Name Size Perms Modified Actions
- drwxr-xr-x 2025-10-29 10:45:36
Edit Download
assets DIR
- drwxr-xr-x 2026-01-08 03:41:55
Edit Download
- drwxr-xr-x 2026-01-09 16:10:35
Edit Download
- drwxr-xr-x 2026-01-13 10:57:34
Edit Download
- drwxr-xr-x 2026-01-13 11:02:32
Edit Download
blocks DIR
- drwxr-xr-x 2026-01-13 04:04:59
Edit Download
- drwxr-xr-x 2026-01-10 00:18:04
Edit Download
css DIR
- drwxr-xr-x 2025-11-28 17:28:40
Edit Download
customize DIR
- drwxr-xr-x 2026-01-11 20:17:39
Edit Download
fonts DIR
- drwxr-xr-x 2026-01-09 16:56:04
Edit Download
html-api DIR
- drwxr-xr-x 2026-01-14 18:28:29
Edit Download
ID3 DIR
- drwxr-xr-x 2026-01-12 18:53:07
Edit Download
images DIR
- drwxr-xr-x 2026-01-10 00:02:11
Edit Download
- drwxr-xr-x 2026-01-13 03:45:01
Edit Download
IXR DIR
- drwxr-xr-x 2026-01-13 08:53:24
Edit Download
js DIR
- drwxr-xr-x 2026-01-14 00:11:33
Edit Download
l10n DIR
- drwxr-xr-x 2026-01-08 03:47:28
Edit Download
- drwxr-xr-x 2026-01-09 16:09:43
Edit Download
PHPMailer DIR
- drwxr-xr-x 2026-01-12 15:34:39
Edit Download
pomo DIR
- drwxr-xr-x 2026-01-13 08:44:01
Edit Download
Requests DIR
- drwxr-xr-x 2024-03-25 09:23:08
Edit Download
rest-api DIR
- drwxr-xr-x 2026-01-13 05:38:06
Edit Download
SimplePie DIR
- drwxr-xr-x 2026-01-10 00:19:52
Edit Download
sitemaps DIR
- drwxr-xr-x 2024-11-26 18:17:26
Edit Download
- drwxr-xr-x 2026-01-10 01:22:51
Edit Download
- drwxr-xr-x 2026-01-08 03:45:26
Edit Download
Text DIR
- drwxr-xr-x 2026-01-09 16:56:07
Edit Download
- drwxr-xr-x 2026-01-13 05:39:48
Edit Download
widgets DIR
- drwxr-xr-x 2026-01-14 18:26:20
Edit Download
7.80 KB lrw-r--r-- 2025-11-17 07:58:28
Edit Download
42.63 KB lrw-r--r-- 2025-10-19 14:42:28
Edit Download
6.61 KB lrw-r--r-- 2024-09-17 18:08:16
Edit Download
17.46 KB lrw-r--r-- 2024-07-17 21:52:18
Edit Download
16.70 KB lrw-r--r-- 2025-04-03 10:53:28
Edit Download
8.28 KB lrw-r--r-- 2025-10-06 08:31:34
Edit Download
2.92 KB lrw-r--r-- 2025-09-28 18:56:28
Edit Download
1.32 KB lrw-r--r-- 2022-09-12 12:47:14
Edit Download
4.60 KB lrw-r--r-- 2025-08-07 11:47:34
Edit Download
11.62 KB lrw-r--r-- 2025-03-05 19:17:24
Edit Download
1.97 KB lrw-r--r-- 2024-09-19 22:55:36
Edit Download
5.32 KB lrw-r--r-- 2025-10-06 08:31:34
Edit Download
10.60 KB lrw-r--r-- 2025-10-06 08:31:34
Edit Download
6.34 KB lrw-r--r-- 2025-10-06 08:31:34
Edit Download
5.49 KB lrw-r--r-- 2025-03-04 10:06:28
Edit Download
1.99 KB lrw-r--r-- 2024-09-19 23:07:12
Edit Download
7.02 KB lrw-r--r-- 2025-10-30 13:03:32
Edit Download
4.91 KB lrw-r--r-- 2025-09-29 13:29:36
Edit Download
16.86 KB lrw-r--r-- 2024-05-01 21:01:10
Edit Download
3.97 KB lrw-r--r-- 2025-06-18 17:39:52
Edit Download
47.66 KB lrw-r--r-- 2025-10-31 15:57:30
Edit Download
9.22 KB lrw-r--r-- 2025-02-11 10:40:30
Edit Download
25.51 KB lrw-r--r-- 2025-09-06 23:47:36
Edit Download
56.65 KB lrw-r--r-- 2025-10-06 22:24:36
Edit Download
10.46 KB lrw-r--r-- 2025-01-22 16:48:26
Edit Download
70.91 KB lrw-r--r-- 2025-10-06 22:24:36
Edit Download
35.30 KB lrw-r--r-- 2025-11-10 17:28:32
Edit Download
7.33 KB lrw-r--r-- 2023-02-21 13:39:20
Edit Download
7.96 KB lrw-r--r-- 2024-10-22 07:16:16
Edit Download
3.23 KB lrw-r--r-- 2025-07-30 20:03:30
Edit Download
16.28 KB lrw-r--r-- 2025-11-03 20:47:34
Edit Download
12.95 KB lrw-r--r-- 2025-09-03 09:18:32
Edit Download
3.42 KB lrw-r--r-- 2022-09-12 12:47:14
Edit Download
5.84 KB lrw-r--r-- 2023-06-22 11:36:26
Edit Download
1.97 KB lrw-r--r-- 2022-12-15 18:32:18
Edit Download
4.30 KB lrw-r--r-- 2023-10-11 04:05:26
Edit Download
40.60 KB lrw-r--r-- 2025-08-20 09:55:28
Edit Download
20.22 KB lrw-r--r-- 2025-09-03 09:18:32
Edit Download
36.11 KB lrw-r--r-- 2025-08-26 18:05:30
Edit Download
7.27 KB lrw-r--r-- 2024-02-27 19:38:16
Edit Download
6.62 KB lrw-r--r-- 2025-05-11 14:16:30
Edit Download
29.82 KB lrw-r--r-- 2025-04-20 20:51:30
Edit Download
6.67 KB lrw-r--r-- 2025-10-21 12:59:34
Edit Download
8.98 KB lrw-r--r-- 2025-06-18 17:39:52
Edit Download
6.74 KB lrw-r--r-- 2024-03-06 02:05:12
Edit Download
4.99 KB lrw-r--r-- 2024-09-03 15:19:14
Edit Download
24.72 KB lrw-r--r-- 2025-10-21 01:33:30
Edit Download
29.96 KB lrw-r--r-- 2025-02-09 08:09:22
Edit Download
6.34 KB lrw-r--r-- 2025-08-20 12:01:32
Edit Download
2.46 KB lrw-r--r-- 2023-09-08 06:32:24
Edit Download
9.17 KB lrw-r--r-- 2025-06-29 18:47:30
Edit Download
31.13 KB lrw-r--r-- 2025-10-27 13:12:36
Edit Download
33.38 KB lrw-r--r-- 2025-11-18 07:12:30
Edit Download
7.15 KB lrw-r--r-- 2025-02-11 08:14:22
Edit Download
3.47 KB lrw-r--r-- 2025-09-16 19:47:32
Edit Download
30.91 KB lrw-r--r-- 2025-08-31 18:43:30
Edit Download
7.29 KB lrw-r--r-- 2025-06-27 12:09:32
Edit Download
11.86 KB lrw-r--r-- 2025-10-28 18:37:34
Edit Download
19.12 KB lrw-r--r-- 2025-06-16 14:08:32
Edit Download
39.99 KB lrw-r--r-- 2025-10-22 13:30:32
Edit Download
5.17 KB lrw-r--r-- 2022-09-12 12:47:14
Edit Download
979 B lrw-r--r-- 2024-02-14 16:27:10
Edit Download
18.44 KB lrw-r--r-- 2025-01-22 16:48:26
Edit Download
10.24 KB lrw-r--r-- 2024-11-19 23:50:24
Edit Download
1.77 KB lrw-r--r-- 2024-06-04 08:55:14
Edit Download
7.19 KB lrw-r--r-- 2024-06-06 05:02:16
Edit Download
160.50 KB lrw-r--r-- 2025-11-10 03:43:38
Edit Download
27.95 KB lrw-r--r-- 2024-07-19 20:44:16
Edit Download
4.69 KB lrw-r--r-- 2025-02-18 19:32:22
Edit Download
2.94 KB lrw-r--r-- 2025-07-06 08:57:36
Edit Download
373 B lrw-r--r-- 2022-09-20 11:17:12
Edit Download
343 B lrw-r--r-- 2022-09-20 11:17:12
Edit Download
338 B lrw-r--r-- 2022-09-20 11:17:12
Edit Download
100.73 KB lrw-r--r-- 2025-10-21 11:00:28
Edit Download
11.10 KB lrw-r--r-- 2024-09-30 20:58:16
Edit Download
60.37 KB lrw-r--r-- 2026-03-02 09:10:10
Edit Download
5.38 KB lrw-r--r-- 2024-03-04 09:41:10
Edit Download
1.16 KB lrw-r--r-- 2020-01-28 21:45:18
Edit Download
4.04 KB lrw-r--r-- 2024-03-04 09:41:10
Edit Download
9.56 KB lrw-r--r-- 2025-10-09 19:05:40
Edit Download
281.84 KB lrw-r--r-- 2025-11-06 20:37:32
Edit Download
20.71 KB lrw-r--r-- 2025-07-15 09:27:32
Edit Download
5.72 KB lrw-r--r-- 2025-02-24 10:43:24
Edit Download
81.72 KB lrw-r--r-- 2025-10-22 18:02:36
Edit Download
25.24 KB lrw-r--r-- 2025-01-22 16:48:26
Edit Download
6.48 KB lrw-r--r-- 2023-02-23 22:23:20
Edit Download
2.79 KB lrw-r--r-- 2025-10-17 14:14:32
Edit Download
89.69 KB lrw-r--r-- 2025-10-27 13:35:36
Edit Download
6.94 KB lrw-r--r-- 2024-05-27 13:29:16
Edit Download
22.66 KB lrw-r--r-- 2025-09-03 09:18:32
Edit Download
544 B lrw-r--r-- 2023-09-30 21:22:28
Edit Download
6.09 KB lrw-r--r-- 2025-11-07 09:42:34
Edit Download
6.41 KB lrw-r--r-- 2025-01-22 16:48:26
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).