Commit eef165d4 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Disable DISALLOW_FILE_MODS when loaded in wp-cli

This will allow cron jobs run through the cli to perform upgrades.
parent 9c52b703
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
 * interface; modify the configuration in /etc/wordpress/ according to the 
 * documentation for PLUGINS[_LIST], THEMES[_LIST] and LANGUAGES[_LIST]
 **/
if ( !defined( 'WP_CLI' ) )
	define('DISALLOW_FILE_MODS', true);

/**