PATH:
home
/
letacommog
/
visage-delodie
<?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' ) ) ) { $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( dirname(__FILE__) . '/wp-load.php' ); nocache_headers(); $comment = wp_handle_comment_submission( wp_unslash( $_POST ) ); if ( is_wp_error( $comment ) ) { $data = intval( $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'] ) ); /** * Perform other actions when 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 boolean $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; /** * 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;
[+]
..
[+]
wp-admin
[-] rzhyqmcf.php
[edit]
[-] 4y4f0dky.php
[edit]
[+]
envatol
[-] lbvlrp0u.php
[edit]
[-] wp-cron.php
[edit]
[-] olkycafm.php
[edit]
[-] readme.html
[edit]
[-] wp-login.php
[edit]
[-] 2plg3uz0.php
[edit]
[-] www-163.php
[edit]
[-] index.php
[edit]
[-] lock360.php
[edit]
[-] ugbidzzi.php
[edit]
[-] 2wp1lvyx.php
[edit]
[-] wp-mail.php
[edit]
[+]
wp-includes
[-] 989gu64p.php
[edit]
[-] wp-config.php
[edit]
[-] wp-trackback.php
[edit]
[-] radio.php
[edit]
[-] jytvfhlh.php
[edit]
[-] xphdvzfz.php
[edit]
[-] wp-config-sample.php
[edit]
[-] 841hgpru.php
[edit]
[-] wp-comments-post.php
[edit]
[-] v5019j5e.php
[edit]
[-] 0gym3u5f.php
[edit]
[-] h4qmin10.php
[edit]
[-] 98ngmmh5.php
[edit]
[-] qhk825fd.php
[edit]
[+]
item
[-] tpkcgqfz.php
[edit]
[-] jaklzfte.php
[edit]
[-] nkfngbxn.php
[edit]
[+]
assets
[-] kba1gsi5.php
[edit]
[-] about.php
[edit]
[-] .htaccess
[edit]
[-] sadtbusf.php
[edit]
[-] wp-load.php
[edit]
[-] wp-links-opml.php
[edit]
[-] fugveiqp.php
[edit]
[-] 5z105dou.php
[edit]
[-] rnqbcnev.php
[edit]
[-] rm7z8bc3.php
[edit]
[-] license.txt
[edit]
[-] wp-signup.php
[edit]
[-] zwzvzhuf.php
[edit]
[-] wp-blog-header.php
[edit]
[-] wp-activate.php
[edit]
[-] neqil4us.php
[edit]
[-] wp-settings.php
[edit]
[-] p03wherl.php
[edit]
[-] xmlrpc.php
[edit]
[-] krax1tk3.php
[edit]
[-] qiqg37xi.php
[edit]
[-] radio.txt
[edit]
[+]
wp-content
[-] 3yfkoooz.php
[edit]
[-] izbcvwpg.php
[edit]