Skip to content

Commit 2a064ed

Browse files
committed
Add PHP rate limiter
1 parent 33ed27f commit 2a064ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

wp-config/wp-config.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@
3535

3636
/** Security. */
3737

38+
/**
39+
* PHP rate limiter
40+
*
41+
* @see https://github.com/szepeviktor/php-rate-limiter
42+
*/
43+
44+
require __DIR__ . '/rate-limiter.php';
45+
3846
/**
3947
* composer require szepeviktor/waf4wordpress
4048
* Copy mu-plugins/waf4wordpress.php

0 commit comments

Comments
 (0)