Skip to content

Commit

Permalink
fix: can disable revisions by setting false or 0 (roots#658)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeZHero authored Dec 18, 2022
1 parent fcbe63e commit bd68a5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
// Disable plugin and theme updates and installation from the admin
Config::define('DISALLOW_FILE_MODS', true);
// Limit the number of post revisions that Wordpress stores (true (default WP): store every revision)
Config::define('WP_POST_REVISIONS', env('WP_POST_REVISIONS') ?: true);
Config::define('WP_POST_REVISIONS', env('WP_POST_REVISIONS') ?? true);

/**
* Debugging Settings
Expand Down

0 comments on commit bd68a5c

Please sign in to comment.