Skip to content

Commit 9ae891b

Browse files
committed
Removing cruft since it is already a warning in WordPress.WP.AlternativeFunctions.file_system_read
1 parent 60ad148 commit 9ae891b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

WordPress-VIP-Go/ruleset.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,9 @@
115115
<rule ref="WordPress.Security.EscapeOutput.OutputNotEscaped"/>
116116
<!-- Should fix all of them but it doesn't need a manual review -->
117117
<rule ref="WordPress.WP.AlternativeFunctions.file_system_read_fopen">
118-
<type>warning</type>
119118
<message>File system operations only work on the `/tmp/` and `wp-content/uploads/` directories. To avoid unexpected results, please use helper functions like `get_temp_dir()` or `wp_get_upload_dir()` to get the proper directory path when using functions such as %s(). For more details, please see: https://wpvip.com/documentation/vip-go/writing-files-on-vip-go/</message>
120119
</rule>
121120
<rule ref="WordPress.WP.AlternativeFunctions.file_system_read_fclose">
122-
<type>warning</type>
123121
<message>File system operations only work on the `/tmp/` and `wp-content/uploads/` directories. To avoid unexpected results, please use helper functions like `get_temp_dir()` or `wp_get_upload_dir()` to get the proper directory path when using functions such as %s(). For more details, please see: https://wpvip.com/documentation/vip-go/writing-files-on-vip-go/</message>
124122
</rule>
125123
<rule ref="WordPressVIPMinimum.Performance.FetchingRemoteData.FileGetContentsUnknown">

0 commit comments

Comments
 (0)