Skip to content

Commit

Permalink
Merge pull request #34 from amimoto-ami/feature/cookie-preview
Browse files Browse the repository at this point in the history
Feature/cookie preview
  • Loading branch information
hideokamoto authored Jul 9, 2018
2 parents 566fd05 + 551289a commit 3a51e87
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 94 deletions.
6 changes: 5 additions & 1 deletion c3-cloudfront-clear-cache.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
* Plugin Name: C3 Cloudfront Cache Controller
* Version: 5.3.4
* Version: 5.4.0
* Plugin URI:https://github.com/amimoto-ami/c3-cloudfront-clear-cache
* Description: Manage CloudFront Cache and provide some fixtures.
* Author: hideokamoto
Expand All @@ -14,6 +14,10 @@
define( 'C3_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'C3_PLUGIN_ROOT', __FILE__ );

// fixtures
require_once( 'module/model/fixtures/wp_is_mobile.php' );
require_once( 'module/model/fixtures/avoid_preview_cache.php' );

$c3 = C3_Controller::get_instance();
$c3->init();

Expand Down
7 changes: 0 additions & 7 deletions module/includes.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,10 @@
} else {
require_once( 'model/client-v3.php' );
}
if ( ! class_exists( 'CF_preview_fix' ) ) {
require_once( 'model/cf-preview-fix.php' );
}
// class
require_once( 'classes/class.logs.php' );
require_once( 'model/class.logs.php' );

// fixtures
require_once( 'model/fixtures/wp_is_mobile.php' );
require_once( 'model/fixtures/avoid_preview_cache.php' );

// View
require_once( 'view/components.php' );
require_once( 'view/root.php' );
Expand Down
82 changes: 0 additions & 82 deletions module/model/cf-preview-fix.php

This file was deleted.

11 changes: 7 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: amimotoami,hideokamoto,megumithemes,wokamoto,miyauchi,hnle
Donate link: http://wp-kyoto.net/
Tags: AWS,CDN,CloudFront
Requires at least: 4.9.0
Tested up to: 4.9.6
Stable tag: 5.3.4
Tested up to: 4.9.7
Stable tag: 5.4.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -94,6 +94,9 @@ add_filter( 'c3_select_aws_sdk', function() {

== Changelog ==

= 5.4.0 =
* [Update] Update preview fix plugin

= 5.3.4 =
* [Bug fix] Small bug fix

Expand Down Expand Up @@ -213,5 +216,5 @@ add_filter( 'c3_select_aws_sdk', function() {

== Upgrade Notice ==

= 5.3.4 =
* [Bug fix] Small bug fix
= 5.4.0 =
* [Update] Update preview fix plugin

0 comments on commit 3a51e87

Please sign in to comment.