Skip to content

Commit

Permalink
protects against CVE-2018-6389, sets CONCATENATE_SCRIPTS to false as …
Browse files Browse the repository at this point in the history
…default (#42)
  • Loading branch information
marius-g authored and pederan committed Feb 28, 2019
1 parent 6562855 commit 607aea0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@
define('DISABLE_WP_CRON', env('DISABLE_WP_CRON') ?: false);
define('DISALLOW_FILE_EDIT', true);

/**
* To make WP load each script on the administration page individually; protects against CVE-2018-6389 DoS attacks
*/
define('CONCATENATE_SCRIPTS', false );

/**
* Bootstrap WordPress
*/
Expand Down

0 comments on commit 607aea0

Please sign in to comment.