mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-26 16:24:33 +00:00
Coding Standards: Add missing translator comments.
Twentys Eleven, Sixteen, and Seventeen now have translator comments for all their strings. Also, WPCS now doesn't show missing translator comment warnings for test files. See #47632. git-svn-id: https://develop.svn.wordpress.org/trunk@45604 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -148,6 +148,11 @@
|
||||
<exclude-pattern>/tests/phpunit/tests/l10n/loadTextdomainJustInTime\.php</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<!-- Translator comments aren't needed in unit tests. -->
|
||||
<rule ref="WordPress.WP.I18n.MissingTranslatorsComment">
|
||||
<exclude-pattern>/tests/*</exclude-pattern>
|
||||
</rule>
|
||||
|
||||
<rule ref="Generic.Functions.FunctionCallArgumentSpacing">
|
||||
<exclude-pattern>/wp-config\.php</exclude-pattern>
|
||||
<exclude-pattern>/wp-config-sample\.php</exclude-pattern>
|
||||
|
||||
Reference in New Issue
Block a user