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://tw.wordpress.org/plugins/internal-pingback-comments/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/internal-pingback-comments/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/internal-pingback-comments/#installation)
 * [開發資訊](https://tw.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**
 *  最後更新 **3 個月前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.5**
 *  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://tw.wordpress.org/plugins/tags/comments/)[internal links](https://tw.wordpress.org/plugins/tags/internal-links/)
   [pingback](https://tw.wordpress.org/plugins/tags/pingback/)
 *  [進階檢視](https://tw.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/)

## 技術支援

最近 2 個月解決的問題:

     總計 2 個問題，已解決 2 個

 [檢視技術支援論壇](https://wordpress.org/support/plugin/internal-pingback-comments/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://pontocinza.com.br/apoiando-o-ponto/)