Permalink
Browse files

Merge branch 'villepietarinen-master'

  • Loading branch information...
Nomafin committed Nov 20, 2017
2 parents 28ad6e5 + 179de3a commit 81204a65b6b7f84a1e1bbaa984534cf46378f8d7
Showing with 17 additions and 4 deletions.
  1. +14 −1 CHANGELOG.md
  2. +2 −2 classes/model.php
  3. +1 −1 dustpress.php
View
@@ -6,22 +6,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
## [1.8.1] - 2017-11-20
### Changed
- Fixed a Notice from `is_cacheable_function` method when `$ttl` is not set in some model
## [1.8.0] - 2017-11-17
### Changed
- Changed the default functionality for the render cacheing to be true
## [1.7.1] - 2017-11-03
### Changed
- Fixed not properly recognizing tidy & render arguements on older dustpress-js calls
- Fixed not properly recognizing tidy & render arguments on older DustPress.js calls
## [1.7.0] - 2017-11-03
### Added
- Model and partial containing the basic functionality of the default wp-activate.php file.
### Changed
- Modifiied core so that when wp-activate.php is loaded the execution is stopped and DustPress creates its own instance.
## [1.6.11] - 2017-10-30
### Changed
- Optimized file loading routines to reduce loading times
## [1.6.10] - 2017-10-20
### Added
- Support for new DustPress.js version
View
@@ -631,10 +631,10 @@ private function maybe_cache( $m, $data, $subs ) {
*/
private function is_cacheable_function( $m ) {
// No caching set
if ( ! isset( $this->ttl ) && ! is_array( $this->ttl ) ) {
if ( ! empty( $this->ttl ) && ! is_array( $this->ttl ) ) {
return false;
}
if ( is_array( $this->ttl ) ) {
if ( ! empty( $this->ttl ) && is_array( $this->ttl ) ) {
foreach ( $this->ttl as $key => $val ) {
if ( $m === $key ) {
View
@@ -6,7 +6,7 @@
Author: Miika Arponen & Ville Siltala / Geniem Oy
Author URI: http://www.geniem.com
License: GPLv3
Version: 1.8.0
Version: 1.8.1
*/
final class DustPress {

0 comments on commit 81204a6

Please sign in to comment.