diff --git a/CHANGELOG.md b/CHANGELOG.md index e3cb126..16582a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 `` tag (`` 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. diff --git a/src/includes/classes/Core.php b/src/includes/classes/Core.php index b3ce180..1abf80c 100644 --- a/src/includes/classes/Core.php +++ b/src/includes/classes/Core.php @@ -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. @@ -556,7 +556,7 @@ protected function restoreGlobalExclusions($html) /** * Document is AMPd? * - * @since 16xxxx AMP exclusions. + * @since 161207 AMP exclusions. * * @param string $html HTML markup. * @@ -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.