[wp-trac] [WordPress Trac] #14219: Making capital_P_dangit completely wpcamelcase.com compliant
WordPress Trac
wp-trac at lists.automattic.com
Tue Jul 6 22:15:56 UTC 2010
#14219: Making capital_P_dangit completely wpcamelcase.com compliant
-------------------------+--------------------------------------------------
Reporter: Latz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.0
Severity: normal | Keywords: has-patch
-------------------------+--------------------------------------------------
Comment(by nacin):
Thanks for the patch, but we're just looking to handle the uppercase P.
If you are interested in including this in a plugin, I would however
suggest that instead of `\s*`, it instead looks for exactly zero or one
space, like `([ ])?`. However, this could pick up false positives if the
words `word` and `press` are adjacent, and it also ignores word
boundaries. Looking for case sensitive 'Wordpress' (and, with a patch on
#13971, also checking the character before) would produce negligible false
positives.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14219#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list