Title: Link Limits
Author: jammycakes
Published: <strong>2009 年 12 月 23 日</strong>
Last modified: 2009 年 12 月 23 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/link-limits.svg)

# Link Limits

 作者：[jammycakes](https://profiles.wordpress.org/jammycakes/)

[下载](https://downloads.wordpress.org/plugin/link-limits.zip)

 * [详情](https://cn.wordpress.org/plugins/link-limits/#description)
 * [评价](https://cn.wordpress.org/plugins/link-limits/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/link-limits/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/link-limits/#developers)

 [支持](https://wordpress.org/support/plugin/link-limits/)

## 描述

This plugin rejects outright any comments that contain either (a) BBCode
 [url=…]
tags or (b) more than a predefined number of hyperlinks. As comments of this nature
are almost exclusively spam, this should cut down drastically on the amount of detritus
that Akismet has to deal with, making it easier to check for false positives in 
your spam queue.

### Configuration

The default settings enforce a limit of two hyperlinks per comment.
 To change this,
edit the number in the line just below the copyright notice which says:

    ```
    define('MAX_HYPERLINKS', 2);
    ```

If you set it to zero, it will not allow any hyperlinks. To allow unlimited
 hyperlinks
and only block BBCode, comment out this line.

### Redistribution

Copyright (c) 2007 James McKay
 http://www.jamesmckay.net/

Permission is hereby granted, free of charge, to any person obtaining a copy
 of
this software and associated documentation files (the “Software”), to deal in the
Software without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice shall be included in
 all 
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.

### Reporting bugs

When reporting bugs, please provide me with the following information:

 1. Which version of Comment Timeout you are using;
 2. Which version of WordPress you are using;
 3. The URL of your blog;
 4. Which platform (Windows/IIS/PHP or Linux/Apache/MySQL/PHP) your server
     is running,
    and which versions of Apache and PHP you are using, if you know them;
 5. The steps that need to be taken to reproduce the bug;
 6. If possible, any relevant information on other plugins or configuration
     options
    that you may think appropriate.

See the following blog entry for further guidance on troubleshooting and
 reporting
problems:

http://www.jamesmckay.net/2007/04/how-to-report-issues-with-wordpress-plugins/

### For more information

For more information, please visit the plugin’s home page:

http://www.jamesmckay.net/code/link-limits/

The Mercurial repository and issue tracker for this plugin are at:

http://bitbucket.org/jammycakes/link-limits/

## 安装

 * Copy the file `link-limits.php` to your `/wp-content/plugins` directory.
 * Activate the plugin through the “Plugins” menu in the WordPress dashboard.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Link Limits」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ jammycakes ](https://profiles.wordpress.org/jammycakes/)

[帮助将「Link Limits」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/link-limits)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/link-limits/)，查看[SVN仓库](https://plugins.svn.wordpress.org/link-limits/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/link-limits/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/link-limits/)。

## 额外信息

 *  版本 **1.0 alpha 1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.0 或更高版本 **
 *  已测试的最高版本为 **2.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/link-limits/)
 * 标签
 * [comment](https://cn.wordpress.org/plugins/tags/comment/)[comments](https://cn.wordpress.org/plugins/tags/comments/)
   [spam](https://cn.wordpress.org/plugins/tags/spam/)
 *  [高级视图](https://cn.wordpress.org/plugins/link-limits/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/link-limits/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/link-limits/reviews/)

## 贡献者

 *   [ jammycakes ](https://profiles.wordpress.org/jammycakes/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/link-limits/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.jamesmckay.net/code/link-limits/)