Skip to content

Commit

Permalink
Check Theme’s Text Domain
Browse files Browse the repository at this point in the history
  • Loading branch information
grappler committed Jan 21, 2017
1 parent b3ef8e5 commit 89884a6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions WordPress-Theme/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
<!-- Prevent path disclosure when using add_theme_page(). -->
<rule ref="WordPress.VIP.PluginMenuSlug"/>

<!--
Use a single unique theme slug – as the theme slug appears in style.css.
Covers: https://make.wordpress.org/themes/handbook/review/required/#language
The text domains still need to be passed via the CLI or defined in the XML ruleset. See: https://github.com/WPTRT/WordPress-Coding-Standards/pull/111
-->
<rule ref="WordPress.WP.I18n"/>

<!-- Do not silence error notices. e.g. Error Control Operator @.. -->
<rule ref="Generic.PHP.NoSilencedErrors">
<properties>
Expand Down

0 comments on commit 89884a6

Please sign in to comment.