Title: Remove WordPress to WordPress filter
Author: Tom Lany
Published: <strong>30 mai 2010</strong>
Last modified: 9 avril 2021

---

Recherche d’extensions

Cette extension **n’a pas été testée avec les3 dernières versions majeures de WordPress**.
Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs 
de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

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

# Remove WordPress to WordPress filter

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

[Télécharger](https://downloads.wordpress.org/plugin/remove-wordpress-to-wordpress-filter.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/#reviews)
 * [Développement](https://fr-ca.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/#developers)

 [Support](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/)

## Description

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/)

## Avis

![](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/) 4 juin 2018

Works exactly as advertised.

 [ Lire les 4 avis ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/)

## Contributeurs & développeurs

« Remove WordPress to WordPress filter » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

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

[Traduisez « Remove WordPress to WordPress filter » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/remove-wordpress-to-wordpress-filter)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/remove-wordpress-to-wordpress-filter/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/remove-wordpress-to-wordpress-filter/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/remove-wordpress-to-wordpress-filter/)
par [RSS](https://plugins.trac.wordpress.org/log/remove-wordpress-to-wordpress-filter/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 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

## Méta

 *  Version **1.3**
 *  Last updated **il y a 5 années**
 *  Active installations **30+**
 *  WordPress version ** 3.0 ou plus **
 *  Tested up to **5.7.15**
 *  Language
 * [English (US)](https://wordpress.org/plugins/remove-wordpress-to-wordpress-filter/)
 * Tags
 * [filter](https://fr-ca.wordpress.org/plugins/tags/filter/)[filters](https://fr-ca.wordpress.org/plugins/tags/filters/)
   [WordPress](https://fr-ca.wordpress.org/plugins/tags/wordpress/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/remove-wordpress-to-wordpress-filter/advanced/)

## Notes

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/reviews/)

## Contributeurs

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

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/remove-wordpress-to-wordpress-filter/)