Title: Internal Pingback Comments
Author: pontocinza
Published: <strong>2026 年 5 月 3 日</strong>
Last modified: 2026 年 5 月 3 日

---

搜索插件

![](https://ps.w.org/internal-pingback-comments/assets/banner-772x250.png?rev=3521492)

![](https://ps.w.org/internal-pingback-comments/assets/icon-256x256.png?rev=3521492)

# Internal Pingback Comments

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

[下载](https://downloads.wordpress.org/plugin/internal-pingback-comments.1.0.1.zip)

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

 [支持](https://wordpress.org/support/plugin/internal-pingback-comments/)

## 描述

When a post is published or updated, Internal Pingback Comments scans its content,
finds all internal links, and creates a pingback-style comment on each linked post.
It mimics native WordPress pingback behavior but eliminates the need for XML-RPC
or outbound network requests.

Works with posts only. No settings page, no configuration.

**How it works**

The plugin parses post content with DOMDocument — not regex — so it handles real-
world HTML correctly: nested tags, encoded entities, relative and protocol-relative
URLs. For each internal link found, it inserts a pingback comment on the target 
post. The comment includes a short excerpt from the source post, with image captions(
figcaption) stripped so they do not bleed into the pingback text.

Duplicate detection is precise: the source permalink is stored as private comment
meta, and the plugin queries that meta before every insert. Republishing or updating
a post never creates duplicate comments. New links added to an existing post will
generate their own pingbacks on the next save.

**What the pingback looks like to your theme**

The comment is stored with `comment_type = 'pingback'` and auto-approved. Your theme
renders it exactly as it would render a native pingback. If your theme does not 
display pingbacks, the comment will be stored in the database but remain hidden 
on the front end.

### Disclaimer

This plugin is provided “as is”, without warranty of any kind. While best efforts
have been made to ensure reliability and security, the author is not liable for 
any damages or losses resulting from its use.

## 安装

 1. Upload the `internal-pingback-comments` folder to `/wp-content/plugins/`, or install
    it directly from the WordPress Plugins screen.
 2. Activate the plugin.
 3. Done. Pingbacks will be created automatically the next time you publish or update
    a post.

## 常见问题

### Does this plugin use XML-RPC?

No. Comments are inserted directly with `wp_insert_comment()`. No XML-RPC, no outbound
network requests.

### Does it work with pages or custom post types?

No. This plugin processes posts only, on both the source and target side.

### Will it create pingbacks for posts published before activation?

No. It only processes posts published or updated after activation. To backfill an
older post, open it in the editor and save it again.

### What happens if I update a post and add a new internal link?

The plugin re-scans the content on every save. The new link will generate a new 
pingback. Removed links do not delete existing pingback comments.

### Will it create duplicate pingbacks if I save the same post multiple times?

No. Before inserting, the plugin checks for an existing pingback from the same source.
If one is found, the insert is skipped.

### Are pingback comments auto-approved?

Yes. Comments are inserted with `comment_approved = 1`. You can edit or delete them
individually from the WordPress Comments screen.

### Is it multisite-compatible?

The plugin works correctly within each site on a multisite network. It does not 
create cross-site pingbacks between subsites.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

「Internal Pingback Comments」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/internal-pingback-comments/contributors)
为本插件所做的贡献。

[帮助将「Internal Pingback Comments」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/internal-pingback-comments)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.1

 * Simplified: plugin now works with posts only, removing the settings page entirely.
 * Fixed: Stripped ‘figcaption’ blocks to ensure captions are excluded from the 
   pingback.
 * Fixed: Gutenberg’s double-save pattern no longer causes duplicate pingbacks within
   the same request.

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.1**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/internal-pingback-comments/) 和 
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/internal-pingback-comments/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/internal-pingback-comments)
 * 标签
 * [comments](https://cn.wordpress.org/plugins/tags/comments/)[internal links](https://cn.wordpress.org/plugins/tags/internal-links/)
   [pingback](https://cn.wordpress.org/plugins/tags/pingback/)
 *  [高级视图](https://cn.wordpress.org/plugins/internal-pingback-comments/advanced/)

## 评级

尚未提交反馈。

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

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

## 贡献者

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

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/internal-pingback-comments/)

## 捐助

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

 [ 捐助此插件 ](https://pontocinza.com.br/apoiando-o-ponto/)