Making WordPress.org

Opened 6 years ago

Closed 6 years ago

#3624 closed defect (bug) (wontfix)

Translate - If first word with WordPress it doesn't convert to WordPress

Reported by: garrett-eclipse's profile garrett-eclipse Owned by: ocean90's profile ocean90
Milestone: Priority: normal
Component: Translate Site & Plugins Keywords:
Cc:

Description (last modified by obenland)

Hello,

I've noticed with the translate.wordpress.org site if the string's first word is WordPress it doesn't get the auto capitalization of the P to WordPress. However if the word is in any other position within the string it get auto-corrected.

To reproduce you can choose any string, add WordPress to the end of it and submit, it'll auto-convert to WordPress. Now with the same string or another add WordPress to the beginning and submit and you'll find it doesn't capitalize the P.

Thanks

Change History (2)

#1 @obenland
6 years ago

  • Description modified (diff)
  • Owner set to ocean90
  • Status changed from new to reviewing

Sounds like a regex issue?

#2 @ocean90
6 years ago

  • Resolution set to wontfix
  • Status changed from reviewing to closed

Related: [6741]

We're using core's capital_P_dangit() function which only does the replacement if there's a space or a quote-like character before. I'm going to leave this as is for now.

Note: See TracTickets for help on using tickets.