diff --git a/data/wp-config.php b/data/wp-config.php index 78063c294ec38bbcb32a6a03434f031e5a70a670..02f2e68b0839107c440380721eb37dca86b265f6 100644 --- a/data/wp-config.php +++ b/data/wp-config.php @@ -9,7 +9,8 @@ * interface; modify the configuration in /etc/wordpress/ according to the * documentation for PLUGINS[_LIST], THEMES[_LIST] and LANGUAGES[_LIST] **/ -define('DISALLOW_FILE_MODS', true); +if ( !defined( 'WP_CLI' ) ) + define('DISALLOW_FILE_MODS', true); /** * Disable running wp-cron.php on every page load. A sidecar process