8.3.31 | Linux aarch64
Server152.53.224.219
Useractus4777 (uid:1016)
PHP8.3.31 (litespeed)
Terminal
Upload
Files: /home/actus.works/public_html
View: wp-comments-post.php
<?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;
NameSizeActions
.htaccess292BView Edit Del
.htaccess.backup296BView Edit Del
.htaccess.bak523BView Edit Del
.tmb/--
3D/--
actus-migrate-zip.php1.2KView Edit Del
actus-woo-excel/--
css/--
cv/--
dev/--
doc/--
favicon.ico110.8KView Edit Del
img/--
index.php405BView Edit Del
license.txt19.4KView Edit Del
readme.html7.2KView Edit Del
srl/--
test-php.php20BView Edit Del
test.html29BView Edit Del
test1/--
typos/--
update/--
wp-activate.php7.2KView Edit Del
wp-admin/--
wp-blog-header.php351BView Edit Del
wp-comments-post.php2.3KView Edit Del
wp-config-sample.php3.3KView Edit Del
wp-config.php3.3KView Edit Del
wp-content/--
wp-cron.php5.5KView Edit Del
wp-includes/--
wp-links-opml.php2.4KView Edit Del
wp-load.php3.8KView Edit Del
wp-login.php50.2KView Edit Del
wp-mail.php8.3KView Edit Del https://actus.works/ 2023-06-02T00:00:37+00:00 https://actus.works/portfolio/ 2023-09-12T23:38:48+00:00 https://actus.works/projects/redu/ 2025-10-07T20:57:28+00:00 https://actus.works/projects/u4u/ 2025-10-07T20:58:39+00:00 https://actus.works/projects/euromedica/ 2025-10-07T20:56:32+00:00 https://actus.works/projects/%ce%b5%cf%84%ce%b1%ce%b9%cf%81%ce%b5%ce%af%ce%b1-%ce%bc%ce%b1%ce%ba%ce%b5%ce%b4%ce%bf%ce%bd%ce%b9%ce%ba%cf%8e%ce%bd-%cf%83%cf%80%ce%bf%cf%85%ce%b4%cf%8e%ce%bd/ 2025-10-07T20:59:02+00:00 https://actus.works/projects/kolossaion-net/ 2025-10-07T21:01:30+00:00 https://actus.works/projects/%ce%b3%ce%b5%ce%bd%ce%b9%ce%ba%ce%ae-%ce%ba%ce%bb%ce%b9%ce%bd%ce%b9%ce%ba%ce%ae-%ce%b8%ce%b5%cf%83%cf%83%ce%b1%ce%bb%ce%bf%ce%bd%ce%af%ce%ba%ce%b7%cf%82/ 2025-10-07T21:01:42+00:00 https://actus.works/projects/physiomed/ 2025-10-07T21:01:50+00:00 https://actus.works/projects/vetshop/ 2025-10-07T21:02:13+00:00 https://actus.works/projects/akoustika-gr/ 2025-10-07T21:02:43+00:00 https://actus.works/projects/euromedica-%ce%b1%cf%81%cf%89%ce%b3%ce%b7/ 2025-10-07T21:03:05+00:00 https://actus.works/projects/euromedica-%ce%ba%cf%85%ce%b1%ce%bd%ce%bf%cf%8d%cf%82-%cf%83%cf%84%ce%b1%cf%85%cf%81%cf%8c%cf%82/ 2025-10-07T21:03:18+00:00 https://actus.works/projects/thyroidsurgery-gr/ 2025-10-07T21:03:30+00:00 https://actus.works/projects/aegean-lifeguards/ 2025-10-07T21:04:21+00:00 https://actus.works/projects/magic-tooth/ 2025-10-07T21:04:39+00:00 https://actus.works/projects/%ce%b9%cf%89%ce%ac%ce%bd%ce%bd%ce%b7%cf%82-%ce%b4%ce%b5%ce%bb%ce%bd%ce%b9%cf%8e%cf%84%ce%b7%cf%82/ 2025-10-07T21:04:58+00:00 https://actus.works/projects/pediatric-surgery/ 2025-10-07T21:05:08+00:00 https://actus.works/projects/goldline/ 2025-10-07T21:05:44+00:00 https://actus.works/projects/retselis-fish-restaurant/ 2025-10-07T21:05:34+00:00