Skip to content

Commit 3aefedb

Browse files
derpaschiocean90
authored andcommitted
Allow file_put_contents and readfile
1 parent b014b17 commit 3aefedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Required/ruleset.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
<properties>
9090
<property name="exclude" type="array">
9191
<!-- Allow the use of filesystem functions. -->
92-
<element value="file_get_contents"/>
92+
<element value="file_get_contents,file_put_contents,readfile"/>
9393
<!-- wp_json_encode() is nowadays only a simple wrapper for json_encode(). -->
9494
<element value="json_encode"/>
9595
</property>

0 commit comments

Comments
 (0)