[wp-hackers] Using constants for text domain

J.D. Grimes jdg at codesymphony.co
Wed Nov 27 15:34:30 UTC 2013


On Nov 27, 2013, at 9:03 AM, Justas Butkus <jbutkus at time.ly> wrote:

> While the benefit of that seems the possibility to catch text-domain misuse error early. I mean with function call it either fails, if you mistype it's name, or returns the correct result, and the process is reentrable. Whilst using static text string it may get silently ignored, creating new text domains.

I also worry about those mistakes, which is why I created this: https://github.com/JDGrimes/wp-l10n-validator


More information about the wp-hackers mailing list