Skip to content

Commit

Permalink
Preparing release. See: wpsharks/comet-cache#695
Browse files Browse the repository at this point in the history
  • Loading branch information
jaswsinc committed Dec 7, 2016
1 parent 2baf192 commit ca3b5ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## $v
## v161207

- Adding new config option: `amp_exclusions_enable` (default is enabled). This improves compatibility with [Accelerated Mobile Pages](https://www.ampproject.org/). When this option is enabled and the URI being compressed ends with `/amp/`, or the document contains a top-level `<html ⚡>` tag (`<html amp>` is accepted as well), then features which are incompatible with [Accelerated Mobile Pages](https://www.ampproject.org/) will be disabled accordingly, regardless of your other settings. See [Issue #695](https://github.com/websharks/comet-cache/issues/695) in the Comet Cache repo.
- Adding `isDocAmpd()` conditional check against current URI & document.
Expand Down
6 changes: 3 additions & 3 deletions src/includes/classes/Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Core // Heart of the HTML Compressor.
*
* @var string Dated version string: `YYMMDD`.
*/
protected $version = '161108'; //version//
protected $version = '161207'; //version//

/**
* An array of class options.
Expand Down Expand Up @@ -556,7 +556,7 @@ protected function restoreGlobalExclusions($html)
/**
* Document is AMPd?
*
* @since 16xxxx AMP exclusions.
* @since 161207 AMP exclusions.
*
* @param string $html HTML markup.
*
Expand Down Expand Up @@ -2523,7 +2523,7 @@ protected function pregQuote($value, $delimiter = '/')
/**
* Multibyte `substr_replace()`.
*
* @since 16xxxx Enhancing multibyte.
* @since 161207 Enhancing multibyte.
*
* @param mixed $value Input value.
* @param string $replace Replacement string.
Expand Down

0 comments on commit ca3b5ec

Please sign in to comment.