Remove capital_P_dangit content filter

I don’t really have strong feelings about this one but I know that others do.

This petition is for removing the capital_P_dangit function that forces WordPress (now ClassicPress) to always be displayed with a capital P.

Like other removed features, I think we should make this (yes, even this) into a core plugin that people can disable if they want.

Pro capital_P_dangit

Many people unintentionally write Wordpress, but this looks unprofessional. Whether WordPress or ClassicPress, it’s important to preserve the project’s brand and present it consistently.

Anti capital_P_dangit

  • “Don’t mess with my content”
  • Early versions of capital_P_dangit had performance and correctness issues, but as far as I know these have been fixed.

Anything else?

Feel free to discuss below.

Previously: Remove capital_P_dangit() function · Issue #180 · ClassicPress/ClassicPress · GitHub

Read-only archive:

Author: James Nylen

Vote count: 10

Status: open


  • request-remove-feature
  • request-modify-feature
  • difficulty-easy


This is inline with our clean up of the core.

I’m for leaving in place the function (and optionally deprecate it) and don’t add the filters.
So anyone who feels the need can just plug it back.

foreach ( array( 'the_content', 'the_title', 'wp_title' ) as $filter )
	add_filter( $filter, 'capital_P_dangit', 11 );
add_filter( 'comment_text', 'capital_P_dangit', 31 );
add_filter( 'widget_text_content', 'capital_P_dangit', 11 );

Edit: reading around, about deprecation, it would be nice to deprecate it in favour of cp_brand_awareness() or something like.

1 Like