Lowercase p, dangit! WordPress Controversy

There has recently been a new piece of code added to the WordPress core which makes sure that people spell WordPress correctly – automatically correcting misspellings (ie. making the P in the middle uppercase).

On its own this seems harmless enough but there has been a lot of talk in the WordPress community about it over the last couple of days. Summed up the key issues are:

  • The plugin is breaking urls such as links and image paths
  • WordPress is modifying content without permission
  • The change was made silently as if it was being ‘sneaked in’

Speaking personally – I did once run a plugin on here that did exactly the same thing, and I removed it for the main reason above – ie it broke stuff. Apparently there have been some fixes made that improve the word detection so hopefully this will be a smaller issue in future updates, but still – it’s not the best thing to do.

Removing it is relatively easy. Just add the filters below to your theme or download and install this plugin:

remove_filter ('the_content', 'capital_P_dangit');
remove_filter ('the_title', 'capital_P_dangit');
remove_filter ('comment_text', 'capital_P_dangit');

Justin Tadlock has a complete write-up of all the problems about the automatic correction of the spelling of WordPress – well worth a read.

So what do you think of this change? Is it acceptable – or is it stepping over the line?

Let me know what you think on Mastodon, or BlueSky (or Twitter X if you must).

Link to this page

Thanks for reading. I'd really appreciate it if you'd link to this page if you mention it in your newsletter or on your blog.

WordPress News

The latest WordPress updates from the WPBriefs Podcast.

Related Posts

27 May 2013

WordPress: 10 Years Young, What Does The Future Hold?

WordPress is now 10 years old. I started using wordpress 9 years ago – which means I joined the WordPress community early on. The reason I chose WordPress is simply because of the fabled 5 minute install process – I...
29 May 2020

Does WordPress Need a Grid System?

Justin, from WPTavern, has recently posted an article considering whether WordPress needs a grid system. As a designer, I am inclined to say yes.I have been using the Layout Grid plugin, that Justin mentions, for a couple of months now...
09 Feb 2017

How to Hide the Archive Title Prefix in WordPress

I don’t remember exactly when it happened but about a year ago WordPress introduced a prefix at the front of WordPress archive titles. This prefix is designed to give context to archives. For example it helps to distinguish between tag...
11 Jul 2008

New plugin : BM Admin Tweak

A couple of weeks ago I mentioned how I have customised my wordpress administration interface to make it more streamlined and usable. This is an interface I made for myself so it works the way I want it too –...