File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" ?>
2+ <ruleset name =" Prospress-WC" >
3+ <description >Prospress WooCommerce Coding Standards</description >
4+
5+ <!-- Include the main Prospress stnadard -->
6+ <rule ref =" Prospress" />
7+
8+ <!-- Modify the behavior of the checks for escaping functions -->
9+ <rule ref =" WordPress.Security.EscapeOutput" >
10+ <!-- ignore wcs plain text email templates - strip_tags is run over the output amongst other things -->
11+ <exclude-pattern >*/templates/emails/plain/*</exclude-pattern >
12+ <properties >
13+ <!-- e.g. body_class, the_content, the_excerpt -->
14+ <property name =" customAutoEscapedFunctions" type =" array" value =" woocommerce_wp_select,wcs_help_tip" />
15+ <!-- e.g. esc_attr, esc_html, esc_url-->
16+ <property name =" customEscapingFunctions" type =" array" value =" wcs_json_encode,htmlspecialchars,wp_kses_allow_underscores" />
17+ </properties >
18+ </rule >
19+ </ruleset >
You can’t perform that action at this time.
0 commit comments