PATH:
home
/
lab2454c
/
nfsin.com
<?php /** * Handles Comment Post to WordPress and prevents duplicate comment posting. * * @package WordPress */ if ( 'POST' !== $_SERVER['REQUEST_METHOD'] ) { $protocol = $_SERVER['SERVER_PROTOCOL']; if ( ! in_array( $protocol, array( 'HTTP/1.1', 'HTTP/2', 'HTTP/2.0', 'HTTP/3' ), true ) ) { $protocol = 'HTTP/1.0'; } header( 'Allow: POST' ); header( "$protocol 405 Method Not Allowed" ); header( 'Content-Type: text/plain' ); exit; } /** Sets up the WordPress Environment. */ require __DIR__ . '/wp-load.php'; nocache_headers(); $comment = wp_handle_comment_submission( wp_unslash( $_POST ) ); if ( is_wp_error( $comment ) ) { $data = (int) $comment->get_error_data(); if ( ! empty( $data ) ) { wp_die( '<p>' . $comment->get_error_message() . '</p>', __( 'Comment Submission Failure' ), array( 'response' => $data, 'back_link' => true, ) ); } else { exit; } } $user = wp_get_current_user(); $cookies_consent = ( isset( $_POST['wp-comment-cookies-consent'] ) ); /** * 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's user object. The user may not exist. * @param bool $cookies_consent Comment author's consent to store cookies. */ do_action( 'set_comment_cookies', $comment, $user, $cookies_consent ); $location = empty( $_POST['redirect_to'] ) ? get_comment_link( $comment ) : $_POST['redirect_to'] . '#comment-' . $comment->comment_ID; // If user didn't consent to cookies, add specific query arguments to display the awaiting moderation message. if ( ! $cookies_consent && 'unapproved' === wp_get_comment_status( $comment ) && ! empty( $comment->comment_author_email ) ) { $location = add_query_arg( array( 'unapproved' => $comment->comment_ID, 'moderation-hash' => wp_hash( $comment->comment_date_gmt ), ), $location ); } /** * Filters the location URI to send the commenter after posting. * * @since 2.0.5 * * @param string $location The 'redirect_to' URI sent via $_POST. * @param WP_Comment $comment Comment object. */ $location = apply_filters( 'comment_post_redirect', $location, $comment ); wp_safe_redirect( $location ); exit;
[+]
.quarantine
[-] sell.php8
[edit]
[-] sql.php7
[edit]
[-] x123x.php
[edit]
[-] psm.php8
[edit]
[-] karma_ae5e.php
[edit]
[-] sql.phtml
[edit]
[-] ol.php
[edit]
[-] w3llstore.php
[edit]
[-] php.php
[edit]
[-] features.php
[edit]
[-] wp-plugin-install.php
[edit]
[+]
wp-includes
[-] enum.php7
[edit]
[-] index.php
[edit]
[-] wp-conffq.php
[edit]
[+]
..
[-] shell.php7
[edit]
[-] wp-blog-header.php
[edit]
[-] database.php
[edit]
[-] sell.php7
[edit]
[-] xmlrpc.php
[edit]
[+]
.tmb
[-] lufix.php
[edit]
[-] ol.phtml
[edit]
[-] t.php7
[edit]
[-] layout.php
[edit]
[+]
wp-admin
[-] wp-comments-post.php
[edit]
[-] trx24.php
[edit]
[-] tonlineb.zip
[edit]
[-] wp-load.php
[edit]
[-] pages.php
[edit]
[-] index.html
[edit]
[+]
cgi-bin
[-] mailer.php7
[edit]
[-] mailer.phtml
[edit]
[-] wp-login.php
[edit]
[-] Geforce.php
[edit]
[-] cvtcosue.php
[edit]
[-] wp-settings.php
[edit]
[-] psm.php7
[edit]
[+]
wp-content
[-] wp-config-sample.php
[edit]
[-] database.php7
[edit]
[-] wps.php
[edit]
[-] wp-trackback.php
[edit]
[-] ex.php
[edit]
[-] wp-activate.php
[edit]
[-] psm.php
[edit]
[-] wp-headre.php
[edit]
[-] mailers.php
[edit]
[-] s.php
[edit]
[-] readme.html
[edit]
[-] sc.php
[edit]
[-] MuPlugin.php
[edit]
[-] adminfuns.php
[edit]
[-] .htaccess
[edit]
[-] mailer.php
[edit]
[-] database.phtml
[edit]
[-] radio.php
[edit]
[-] wp-mail.php
[edit]
[-] google314a728709997497.html
[edit]
[-] mailers.php7
[edit]
[-] license.txt
[edit]
[-] mailers.phtml
[edit]
[-] shell.php
[edit]
[-] txets.php
[edit]
[-] psm.phtml
[edit]
[-] inputs.php
[edit]
[-] unzipper.php
[edit]
[-] wp-links-opml.php
[edit]
[-] about.php
[edit]
[-] error_log
[edit]
[-] goods.php
[edit]
[-] shell.php8
[edit]
[+]
.well-known
[-] wp-signup.php
[edit]
[-] file-mancvgertdxz.php
[edit]
[-] sql.php
[edit]
[-] content.php
[edit]
[-] ol.php7
[edit]
[-] unzipper.php7
[edit]
[-] wp-cron.php
[edit]
[-] wp-config.php
[edit]
[-] shell20250630.php
[edit]
[-] man.php
[edit]
[-] sell.php
[edit]
[-] t.php
[edit]
[-] mah.php
[edit]