diff --git a/CHANGELOG.md b/CHANGELOG.md index 126e6979..e318260e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,18 @@ # Beans Changelog +## 2018.07.22 - version 1.5.1 + +This release fixes the following bugs: + +* Fixed #305 - re-enabled displaying the image field upload button. +* Fixed #307 - added functionality to recompile when in development mode. +* Fixed #304 - changed the screenshot to a .png file + +This release adds a new screenshot design too, just for fun! + ## 2018.07.10 - version 1.5.0 -This release candidate includes security, web accessibility, code quality improvements, performance improvements, and bug fixes. The entire framework is now WPCS compliant. The APIs are now fully and thoroughly well-tested. All found issues are resolved. New functionality is added. +This release includes security, web accessibility, code quality improvements, performance improvements, and bug fixes. The entire framework is now WPCS compliant. The APIs are now fully and thoroughly well-tested. All found issues are resolved. New functionality is added. ### Improved * Improved web accessibility by adding skip links, ARIA, labels, tabs, and more. diff --git a/lib/api/compiler/class-beans-compiler.php b/lib/api/compiler/class-beans-compiler.php index cb3a6d08..50d47c5a 100644 --- a/lib/api/compiler/class-beans-compiler.php +++ b/lib/api/compiler/class-beans-compiler.php @@ -78,6 +78,7 @@ public function __construct( array $config ) { * Run the compiler. * * @since 1.5.0 + * @since 1.5.1 Recompile when in development mode. * * @return void */ @@ -88,7 +89,7 @@ public function run_compiler() { $this->set_fragments(); $this->set_filename(); - if ( ! $this->cache_file_exist() ) { + if ( _beans_is_compiler_dev_mode() || ! $this->cache_file_exist() ) { $this->filesystem(); $this->maybe_make_dir(); $this->combine_fragments(); diff --git a/lib/api/fields/types/views/image.php b/lib/api/fields/types/views/image.php index af66576e..a1c54d16 100644 --- a/lib/api/fields/types/views/image.php +++ b/lib/api/fields/types/views/image.php @@ -12,7 +12,7 @@ // phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect, Generic.WhiteSpace.ScopeIndent.IncorrectExact -- View file is indented for HTML structure. ?> - +