File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ SecRule REQUEST_FILENAME "@endsWith /wp-admin/comment.php" \
115
115
#
116
116
117
117
# Gutenberg
118
- SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages)" \
118
+ SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages|templates )" \
119
119
"id:9507140,\
120
120
phase:1,\
121
121
pass,\
@@ -215,7 +215,7 @@ SecRule REQUEST_FILENAME "@endsWith /index.php" \
215
215
216
216
# Cannot update page|post in WordPress due to `x-http-method-override` header.
217
217
# This rule is a copy of rule 900250 and must be synchronised with that rule.
218
- SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages|users)" \
218
+ SecRule REQUEST_FILENAME "@rx /wp-json/wp/v[0-9]+/(?:posts|pages|users|templates )" \
219
219
"id:9507146,\
220
220
phase:1,\
221
221
pass,\
You can’t perform that action at this time.
0 commit comments