Title: Remove WordPress to WordPress filter
Author: Tom Lany
Published: <strong>2010 年 5 月 30 日</strong>
Last modified: 2021 年 4 月 9 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/remove-wordpress-to-wordpress-filter.
svg)

# Remove WordPress to WordPress filter

 由 [Tom Lany](https://profiles.wordpress.org/tomthewebmaster/) 開發

[下載](https://downloads.wordpress.org/plugin/remove-wordpress-to-wordpress-filter.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/#developers)

 [技術支援](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/)

## 外掛說明

In WordPress 3.0 and later, [a default filter](https://core.trac.wordpress.org/changeset/14996)
changes all instances of “WordPress” (note the small “p”) in posts, titles, and 
comments to “WordPress”. [For various reasons](https://core.trac.wordpress.org/ticket/13583),
such as preserving spelling in existing posts and comments, a blog owner may want
to turn this filter off. That is what this plugin does.

Simply upload the plugin files to your WordPress plugins folder, activate it on 
your blog’s Plugin administration page, and you are set!

### Technical Details

This plugin seeks to disable the capital_P_dangit function, which is the WordPress
function that disallows “WordPress” to be used on blogs.

The filter is defined in [wp-includes/default-filters.php](https://core.trac.wordpress.org/browser/trunk/src/wp-includes/default-filters.php)
and is applied in [wp-includes/formatting.php](https://core.trac.wordpress.org/browser/trunk/src/wp-includes/formatting.php)
of the core WordPress code.

The remove_filter function is used in this plugin to undo the add_filter function
applied in wp-includes/formatting.php. In versions 1.0 and 1.1 of this plugin, the
function was removed for certain priority levels. As of version 1.2, this plugin
removes the filter for all possible priority levels. Thanks to [Matt Robinson](http://subscribe2.wordpress.com/)
for suggesting this method and providing code that is used in the plugin.

For more information regarding how this function is applied in WordPress, the following
are the relevant changesets to the core WordPress code regarding this function:

 * [Changes made for WordPress 3.0](https://core.trac.wordpress.org/changeset/14996/)
 * [Changes made for WordPress 3.0.1](https://core.trac.wordpress.org/changeset/15377/)
 * [Changes made for WordPress 3.1](https://core.trac.wordpress.org/changeset/15877/)
 * [Changes made for WordPress 3.5](https://core.trac.wordpress.org/changeset/21242/)
 * [Changes made for WordPress 3.7](https://core.trac.wordpress.org/changeset/25093/)
 * [Changes made for WordPress 3.8](https://core.trac.wordpress.org/changeset/26122/)

## 使用者評論

![](https://secure.gravatar.com/avatar/4bf6324da05f63f9d0eb99f503a0a0e4088b24d16a130953e4b7e409eac54728?
s=60&d=retro&r=g)

### 󠀁[Brilliant](https://wordpress.org/support/topic/brilliant-754/)󠁿

 [hatesspam](https://profiles.wordpress.org/hatesspam/) 2018 年 6 月 4 日

Works exactly as advertised.

 [ 閱讀全部 4 則使用者評論 ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Remove WordPress to WordPress filter〉的開發相關工作。

參與者

 *   [ Tom Lany ](https://profiles.wordpress.org/tomthewebmaster/)

[將〈Remove WordPress to WordPress filter〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/remove-wordpress-to-wordpress-filter)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/remove-wordpress-to-wordpress-filter/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/remove-wordpress-to-wordpress-filter/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/remove-wordpress-to-wordpress-filter/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/remove-wordpress-to-wordpress-filter/)。

## 變更記錄

#### Version 1.3

 * Turn filter off for wp_title.
 * Minor code cleanup.

#### Version 1.2

 * Some priority levels for this function have changed yet again in WordPress 3.1,
   making it again necessary to change the filters. This plugin now removes the 
   filter for all possible priority levels. Thanks to [Matt Robinson](http://subscribe2.wordpress.com/)
   for suggesting this method and providing code that is used in the plugin. This
   change makes the plugin compatible with WordPress 3.1, and it is still compatible
   with the WordPress 3.0 branch.
 * Additional technical documentation has been added.

#### Version 1.1

 * The filters were changed slightly in WordPress 3.0.1. This update is compatible
   with these new filters.

#### Version 1.0

 * Initial release

## 中繼資料

 *  版本 **1.3**
 *  最後更新 **5 年前**
 *  啟用安裝數 **30+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.7.19**
 *  語言
 * [English (US)](https://wordpress.org/plugins/remove-wordpress-to-wordpress-filter/)
 * 標籤:
 * [filter](https://tw.wordpress.org/plugins/tags/filter/)[filters](https://tw.wordpress.org/plugins/tags/filters/)
   [WordPress](https://tw.wordpress.org/plugins/tags/wordpress/)
 *  [進階檢視](https://tw.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/)

## 參與者

 *   [ Tom Lany ](https://profiles.wordpress.org/tomthewebmaster/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/)