[wordpress插件] Block Comment Spam Bots阻止评论垃圾邮件机器人

wordpress 插件 文章 2020-03-06 12:50 516 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Comments are processed by the wp-post-comments.php file.

注释由wp-post-comments.php文件处理。

Automated spammers (‘spam bots’) can provide (‘post’) data directly to that page, bypassing any comment processing, by using CURL/WGET commands.

自动化垃圾邮件发送者(“垃圾邮件机器人”)可以使用CURL / WGET命令绕过任何评论处理,直接向该页面直接提供(“发布”)数据。

The result is comment spam – and not always caught by common comment spam checkers.

结果是垃圾评论–并不总是被常见的垃圾评论检查者捕获。

Even if it is, processing that spam takes some server resources, including writing to the database.

即使是这样,处理垃圾邮件也会占用一些服务器资源,包括写入数据库。

This plugin adds a simple and changing hidden field value to the comment form.

此插件在注释表单中添加了一个简单且不断变化的隐藏字段值。

The processing of the comment form is changed to check for that hidden field.

注释表单的处理已更改为检查该隐藏字段。

If not found, then the normal comment form entry was bypassed by the spam bot, so the comment is discarded.

如果未找到,则垃圾邮件漫游器会绕过常规评论表单条目,因此该评论将被丢弃。

Otherwise, the comment is processed normally.

否则,评论将被正常处理。

This is the best solution to block comment spam. We’ve tested it on a site that had 20-40 spam comments a day.

这是阻止垃圾评论的最佳解决方案。我们已经在每天处理20-40条垃圾评论的网站上对其进行了测试。

With this plugin enabled, there have been none.

启用此插件后,没有任何插件。

Not one.

不是一个。

Zero.

零。

No comment spam during a week of testing, and it continues to block comment spam on our sites.

经过一周的测试,没有垃圾评论,并且它继续阻止了我们网站上的垃圾评论。

The Admin, Comments page is modified to show a column with the value of the hidden field.

修改了“管理,评论”页面,以显示具有隐藏字段值的列。

This is an assurance that the comment was not entered via an automated CURL/WGET to the wp-comments-post.php file.

这可以确保未通过自动CURL / WGET将注释输入到wp-comments-post.php文件中。

A comment that is on the list that does not show the hidden field value was entered manually, and other comment spam blocking techniques might be needed for your site.

列表中未显示隐藏字段值的评论是手动输入的,您的站点可能需要其他评论垃圾邮件阻止技术。

But you won’t see those blocked comments with this plugin enabled.

但是启用此插件后,您不会看到那些被屏蔽的评论。

An information screen provides a CURL command you can use to test the effectiveness of blocking (or not blocking) direct access to the wp-comments-post.php file.

信息屏幕上提供了CURL命令,可用于测试阻止(或不阻止)直接访问wp-comments-post.php文件的有效性。

Current version adds the hidden field to the comment form after a delay to help block bots that are using the comment form to submit.

当前版本在延迟后将隐藏字段添加到评论表单中,以帮助阻止使用该评论表单提交的漫游器。

This provides a total solution to comment spam.

这提供了评论垃圾邮件的完整解决方案。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the Settings->Plugin Name screen to configure the plugin
    6. 使用“设置”->“插件名称”屏幕来配置插件

    7. (Make your instructions match the desired user flow for activating and installing your plugin. Include any steps that might be needed for explanatory purposes)
    8. (使您的说明与激活和安装插件所需的用户流程相匹配。包括说明性目的可能需要的所有步骤)

下载地址
https://downloads.wordpress.org/plugin/block-comment-spam-bots.1.5.zip
-EOF-

AI助手支持GPT4.0