Skip to content

Commit

Permalink
Added wc_kses_notice as escaping function to PHPCS.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfabian committed Aug 23, 2018
1 parent dde3c9f commit 2f0505a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</rule>
<rule ref="WordPress.XSS.EscapeOutput">
<properties>
<property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected" />
<property name="customEscapingFunctions" type="array" value="wc_help_tip,wc_sanitize_tooltip,wc_selected,wc_kses_notice" />
</properties>
</rule>
<rule ref="WordPress.WP.I18n">
Expand Down

0 comments on commit 2f0505a

Please sign in to comment.