roots / bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure
https://roots.io/bedrock/
MIT License
6.15k stars 1.16k forks source link

fix: can disable revisions by setting false or 0 #658

Closed TimeZHero closed 1 year ago

TimeZHero commented 1 year ago

Hi, noticed that the default setup for application.php does not allow to turn off revisions through the value of WP_POST_REVISIONS. Setting either false or 0 results on enabling the feature completely, which is pretty confusing.

swalkinshaw commented 1 year ago

Thanks @TimeZHero