mirror of
https://github.com/WordPress/WordPress-Coding-Standards.git
synced 2025-08-30 03:11:24 +08:00
Add an example for escaping static methods
parent
813563417e
commit
77bacb7b72
1 changed files with 1 additions and 0 deletions
|
@ -655,6 +655,7 @@ The above properties allow you to add the names of these functions to the list o
|
|||
<property name="customEscapingFunctions" type="array">
|
||||
<element value="prefix_escape_form_value"/>
|
||||
<element value="prefix_escape_form_id"/>
|
||||
<element value="\QualifiedExample\Namespaced\ClassName::staticMethod"/>
|
||||
</property>
|
||||
<property name="customAutoEscapedFunctions" type="array">
|
||||
<element value="prefix_get_escaped_value"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue