Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
[0.9.4.x] - readying a new release (#355)
Browse files Browse the repository at this point in the history
just readying a new release for the 0.9.4.x generation users.
  • Loading branch information
amiga-500 committed Feb 3, 2017
1 parent 1986703 commit 4344308
Show file tree
Hide file tree
Showing 23 changed files with 887 additions and 66 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ Make sure you select the correct generation that fits your environment.

| Generation | Date |Version | Download Link
| ------------- |:-------------:|:-----:|-----|
| For 0.9.4.x Users | 2017-01-19 | 0.9.4.6.2| [w3-total-cache-fixed-(for-v0.9.4.x-users).zip](https://github.com/szepeviktor/w3-total-cache-fixed/releases/download/0.9.4.6.2/w3-total-cache-fixed-for-v0.9.4.x-users.zip)
| For 0.9.5.x Users | --- | --- | _coming soon_
| For 0.9.4.x Users | 2017-02-03 | 0.9.4.6.3 | [w3-total-cache-fixed-(for-v0.9.4.x-users).zip](https://github.com/szepeviktor/w3-total-cache-fixed/releases/download/0.9.4.6.3/w3-total-cache-fixed-for-v0.9.4.x-users.zip)
| For 0.9.5.x Users | 2017-02-02 | 0.9.5.2.2 | [w3-total-cache-fixed-(for-v0.9.5.x-users).zip](https://github.com/szepeviktor/w3-total-cache-fixed/releases/download/0.9.5.2.2/w3-total-cache-fixed-for-v0.9.5.x-users.zip)

---

### Installation
### Installation (for v0.9.4.x Users)
_**Note:** After the following steps, all future updates and installations will be handled from within WordPress._

1. Deactivate (but don't delete) your existing W3 Total Cache plugin (if installed) from within WordPress' Plugin page.
Expand All @@ -42,9 +42,10 @@ _**Note:** This list does not reflect all of the myriad of fixes/changes -- just

![DONE] Removed Deprecated WordPress Code<br>
![DONE] Full PHP7 Compliancy (Passes [PHPCompatibility](https://github.com/wimg/PHPCompatibility): 100%)<br>
![DONE] Amazon Web Services (AWS) v4 Signature Support (IPv4 &amp; IPv6) with New Endpoints/Regions<br>
![DONE] Security Headers Management for X-Frame-Options, X-XSS-Protection, X-Content-Type-Options, HPKP, CSP, HSTS policy<br>
![DONE] Amazon Web Services (AWS) v4 Signature Support (IPv4 &amp; IPv6) with All Endpoints/Regions<br>
![DONE] Option to Embed Minified JS and CSS Content Directly into HTML Page<br>
![DONE] Extended WP-CLI Support<br>
![DONE] Extended WP-CLI Support, including Priming the Page Cache Asynchronously<br>
![DONE] Memcache & Memcached Extension Support<br>
![DONE] APCu Support<br>
![DONE] OPcache Support<br>
Expand Down
8 changes: 8 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
= 0.9.4.6.3 =
* Security Headers section added to Browser Cache -- X-Frame-Options, X-XSS-Protection, X-Content-Type-Options, HTTP Public Key Pinning, Content Security Policy, HTTP Strict Transport Security, and Session Cookies
* Checkbox under CDN to allow CDN URLs to be used for the Media Library when on admin pages
* Bug fix to Amazon Web Services (AWS) Cloudfront (origin pull) distributions
* Bug fix for page cache's categories, tags, author, and custom fields
* WP-CLI prime - tweak for sitemaps
* Bug fix to now allow flushing of a post/page's cache when changing from published to draft/pending review

= 0.9.4.6.2 =
* Fixed a strict mode error specific to PHP 5.4/5.6 users
* Configuration file loader adjustment to handle a case of someone going from v0.9.5.2+ to v0.9.4.x
Expand Down
2 changes: 1 addition & 1 deletion inc/define.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
}

define('W3TC', true);
define('W3TC_VERSION', '0.9.4.6.2');
define('W3TC_VERSION', '0.9.4.6.3');
define("W3TC_TESTED_ON_WP_VERSION", '4.7.1');
define('W3TC_POWERED_BY', 'W3 Total Cache/' . W3TC_VERSION);
define('W3TC_EMAIL', 'w3tc@w3-edge.com');
Expand Down
316 changes: 316 additions & 0 deletions inc/options/browsercache.php

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions inc/options/cdn.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@
<span class="description">When <acronym title="Secure Sockets Layer">SSL</acronym> pages are returned no <acronym title="Content Delivery Network">CDN</acronym> <acronym title="Uniform Resource Indicator">URL</acronym>s will appear in HTML pages.</span>
</th>
</tr>
<tr>
<th colspan="2">
<?php $this->checkbox( 'cdn.admin.media_library' ) ?> <?php w3_e_config_label( 'cdn.admin.media_library' ) ?></label><br />
<span class="description">All Media Library content will use CDN links on administration pages.</span>
</th>
</tr>
<tr>
<th colspan="2">
<?php $this->checkbox('cdn.reject.logged_roles') ?> <?php w3_e_config_label('cdn.reject.logged_roles') ?></label><br />
Expand Down
2 changes: 1 addition & 1 deletion inc/options/cdn/cf.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<option value="us-east-2"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'us-east-2'); ?>>US East (Ohio)</option>
<option value="us-west-1"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'us-west-1'); ?>>US-West (N. California)</option>
<option value="us-west-2"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'us-west-2'); ?>>US-West (Oregon)</option>
<option value="ca-central-1"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'ca-central-1'); ?>>Canada (Central)</option>
<option value="ca-central-1"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'ca-central-1'); ?>>Canada (Montreal)</option>
<option value="ap-south-1"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'ap-south-1'); ?>>Asia Pacific (Mumbai)</option>
<option value="ap-northeast-2"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'ap-northeast-2'); ?>>Asia Pacific (Seoul)</option>
<option value="ap-southeast-1"<?php selected($this->_config->get_string('cdn.cf.bucket.location'), 'ap-southeast-1'); ?>>Asia Pacific (Singapore)</option>
Expand Down
2 changes: 1 addition & 1 deletion inc/options/cdn/s3.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<option value="us-east-2"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'us-east-2'); ?>>US East (Ohio)</option>
<option value="us-west-1"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'us-west-1'); ?>>US-West (N. California)</option>
<option value="us-west-2"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'us-west-2'); ?>>US-West (Oregon)</option>
<option value="ca-central-1"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'ca-central-1'); ?>>Canada (Central)</option>
<option value="ca-central-1"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'ca-central-1'); ?>>Canada (Montreal)</option>
<option value="ap-south-1"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'ap-south-1'); ?>>Asia Pacific (Mumbai)</option>
<option value="ap-northeast-2"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'ap-northeast-2'); ?>>Asia Pacific (Seoul)</option>
<option value="ap-southeast-1"<?php selected($this->_config->get_string('cdn.s3.bucket.location'), 'ap-southeast-1'); ?>>Asia Pacific (Singapore)</option>
Expand Down
3 changes: 2 additions & 1 deletion inc/options/common/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@
<a href="#general"><?php _e('General', 'w3-total-cache'); ?></a> |
<a href="#css_js"><?php _e('<acronym title="Cascading Style Sheet">CSS</acronym> &amp; <acronym title="JavaScript">JS</acronym>', 'w3-total-cache'); ?></a> |
<a href="#html_xml"><?php _e('<acronym title="Hypertext Markup Language">HTML</acronym> &amp; <acronym title="eXtensible Markup Language">XML</acronym>', 'w3-total-cache'); ?></a> |
<a href="#media"><?php _e('Media', 'w3-total-cache'); ?></a>
<a href="#media"><?php _e('Media', 'w3-total-cache'); ?></a> |
<a href="#security"><?php _e( 'Security Headers', 'w3-total-cache' ); ?></a>
</p>
<?php
break;
Expand Down
3 changes: 1 addition & 2 deletions lib/S3.php
Original file line number Diff line number Diff line change
Expand Up @@ -2194,7 +2194,7 @@ function __construct($verb, $bucket = '', $uri = '', $endpoint = 's3.amazonaws.c

$this->endpoint = $endpoint;
$this->verb = $verb;
$this->bucket = strtolower($bucket);
$this->bucket = $bucket;
$this->uri = $uri !== '' ? '/'.str_replace('%2F', '/', rawurlencode($uri)) : '/';

if ($this->bucket !== '')
Expand All @@ -2207,7 +2207,6 @@ function __construct($verb, $bucket = '', $uri = '', $endpoint = 's3.amazonaws.c
else
{
$this->headers['Host'] = $this->endpoint;
$this->uri = $this->uri;
if ($this->bucket !== '') $this->uri = '/'.$this->bucket.$this->uri;
$this->bucket = '';
$this->resource = $this->uri;
Expand Down
2 changes: 1 addition & 1 deletion lib/W3/AdminActions/CdnActionsAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ function action_cdn_s3_bucket_location() {
'us-east-2' => __('US East (Ohio)', 'w3-total-cache'),
'us-west-1' => __('US-West (N. California)', 'w3-total-cache'),
'us-west-2' => __('US-West (Oregon)', 'w3-total-cache'),
'ca-central-1' => __('Canada (Central)', 'w3-total-cache'),
'ca-central-1' => __('Canada (Montreal)', 'w3-total-cache'),
'ap-south-1' => __('Asia Pacific (Mumbai)', 'w3-total-cache'),
'ap-northeast-2'=> __('Asia Pacific (Seoul)', 'w3-total-cache'),
'ap-southeast-1'=> __('Asia Pacific (Singapore)', 'w3-total-cache'),
Expand Down
Loading

0 comments on commit 4344308

Please sign in to comment.