Title: Pingchecker
Author: Tony Hayes
Published: <strong>2011 年 4 月 27 日</strong>
Last modified: 2011 年 7 月 7 日

---

搜索插件

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

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

# Pingchecker

 作者：[Tony Hayes](https://profiles.wordpress.org/majick/)

[下载](https://downloads.wordpress.org/plugin/pingchecker.1.2.0.zip)

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

 [支持](https://wordpress.org/support/plugin/pingchecker/)

## 描述

Pingchecker is a free plugin for WordPress that allows you to scan your post’s content
for
 links, check the pingability of those resources you’ve linked to, and manually
ping those pages. This improves upon the inbuilt fuctionality of WordPress by allowing
you to receive the results of your attempted pings whereas WordPress doesn’t. (With
WordPress your ping either appears in the trackback list or it doesn’t, with no 
explanation or error codes.)

Also included is a workaround for a bug in the WordPress XML RPC server that prevents
many
 of your pingbacks from succeeding without you even knowing about it! When 
you ping another blogs server, it will check the page you linked, BUT because of
this bug, sometimes it can’t find the link at all. This workaround adds a hidden
div to your footer with your links so they can be found, greatly improving your 
chances of a successful ping.

### Recommended Use

 1. Before publishing your post, use Pingchecker to check the pingability of the resources
    
    you are linking to. If they aren’t, you may wish to choose alternative similar 
    resources that are pingable instead.
 2. Then, publish your post and WordPress will attempt to ping the resources automatically
    
    as it normally would. Check the trackback list under your content box to see if
    your ping was successful as usual.
 3. If the new trackback/pingback does not appear, use Pingchecker to ping the resource
    
    instead. The results of your attempted pings will be returned in an alert box.

### The XML RPC Server Bug Workaround

While working on this plugin I noticed a large occurrence of the pingback fault 
17:
 “The source URL does not contain a link to the target URL, and so cannot be
used as a source.” A really frustrating message given you are sending a pingback
because the source DOES contain a link to the target, yes? Might I point out that
very few WordPress users are aware of this even happening because nowhere does WordPress
actually return you these fault codes..!

Well, after a bit of testing I found the bug seems to be in the XML RPC server code
for
 Wordpress, specifically the strip_tags function in PHP is just not reliable
enough for getting anchor links on the variety of WordPress templates out there (
IMHO). (Line 3422 in WP3.1)

Unfortunately, since the bug is in the server code itself, you can’t fix it on someone
elses
 blog can you? That’s why this is a workaround instead. The Pingchecker workaround
will scan your post content for links using regex instead, then echo a hidden div
element containing all the links (with an added nofollow tag so you aren’t linking
twice) in your blogs footer, which is picked up much more easily by the strip_tags
function in use by the server.

## 安装

 1. Upload ‘pingchecker.php’ to the ‘/wp-content/plugins/’ directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use the Pingchecker box on your post writing screen.

## 常见问题

  What do the pingback error codes mean?

While some of the pingback error codes are self-explanatory, others can be a little
confusing.
 There is a list of fault codes and some suggestions here: http://pingbackpro.
com/support/#faultcodes

  What if the resource I am linking to isn’t pingeable?

Unfortunately there isn’t a great deal you can do about this, apart from sending
an email
 to the owner of the blog you are pinging, you could try to find a similar
resource that is pingeable.

  Will installing this plugin improve the success of my pings?

Yes, actually. Pingchecker includes a workaround for a bug in the WordPress XML 
RPC server that
 can frequently return pingback fault 17, which basically says your
post doesn’t contain a link when it really does. A hidden div element is added to
page containing the links in your post which makes them easier to find by the server
code, allowing more pings to succeed.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

 *   [ Tony Hayes ](https://profiles.wordpress.org/majick/)
 *   [ majick777 ](https://profiles.wordpress.org/majick777/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.2.0

 * Added the ability to check for pingback approvals.

#### 1.1.0

 * Fixes a major WordPress XML RPC server bug with a workaround. See Note.

#### 1.0.0

 * Pingchecker Plugin released. WOOHOO!

## 额外信息

 *  版本 **1.2.0**
 *  最后更新：**15 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 2.6 或更高版本 **
 *  已测试的最高版本为 **3.1.4**
 *  语言
 * [English (US)](https://wordpress.org/plugins/pingchecker/)
 * 标签
 * [backlink](https://cn.wordpress.org/plugins/tags/backlink/)[ping](https://cn.wordpress.org/plugins/tags/ping/)
   [pingback](https://cn.wordpress.org/plugins/tags/pingback/)[trackback](https://cn.wordpress.org/plugins/tags/trackback/)
 *  [高级视图](https://cn.wordpress.org/plugins/pingchecker/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

 *   [ Tony Hayes ](https://profiles.wordpress.org/majick/)
 *   [ majick777 ](https://profiles.wordpress.org/majick777/)

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://pingbackpro.com/pingchecker/)