Version Description
- Removed unused code
Download this release
Release Info
| Developer | keycdn |
| Plugin | |
| Version | 1.0.4 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.3 to 1.0.4
- cdn-enabler.php +2 -2
- inc/cdn_enabler.class.php +1 -11
- readme.txt +8 -3
cdn-enabler.php
CHANGED
|
@@ -6,11 +6,11 @@ Description: Simply integrate a Content Delivery Network (CDN) into your WordPre
|
|
| 6 |
Author: KeyCDN
|
| 7 |
Author URI: https://www.keycdn.com
|
| 8 |
License: GPLv2 or later
|
| 9 |
-
Version: 1.0.
|
| 10 |
*/
|
| 11 |
|
| 12 |
/*
|
| 13 |
-
Copyright (C)
|
| 14 |
|
| 15 |
This program is free software; you can redistribute it and/or modify
|
| 16 |
it under the terms of the GNU General Public License as published by
|
| 6 |
Author: KeyCDN
|
| 7 |
Author URI: https://www.keycdn.com
|
| 8 |
License: GPLv2 or later
|
| 9 |
+
Version: 1.0.4
|
| 10 |
*/
|
| 11 |
|
| 12 |
/*
|
| 13 |
+
Copyright (C) 2017 KeyCDN
|
| 14 |
|
| 15 |
This program is free software; you can redistribute it and/or modify
|
| 16 |
it under the terms of the GNU General Public License as published by
|
inc/cdn_enabler.class.php
CHANGED
|
@@ -26,7 +26,7 @@ class CDN_Enabler
|
|
| 26 |
* constructor
|
| 27 |
*
|
| 28 |
* @since 0.0.1
|
| 29 |
-
* @change
|
| 30 |
*/
|
| 31 |
|
| 32 |
public function __construct() {
|
|
@@ -40,16 +40,6 @@ class CDN_Enabler
|
|
| 40 |
)
|
| 41 |
);
|
| 42 |
|
| 43 |
-
/* Filter */
|
| 44 |
-
if ( (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) OR (defined('DOING_CRON') && DOING_CRON) OR (defined('DOING_AJAX') && DOING_AJAX) OR (defined('XMLRPC_REQUEST') && XMLRPC_REQUEST) ) {
|
| 45 |
-
//return;
|
| 46 |
-
}
|
| 47 |
-
|
| 48 |
-
/* BE only */
|
| 49 |
-
if ( ! is_admin() ) {
|
| 50 |
-
//return;
|
| 51 |
-
}
|
| 52 |
-
|
| 53 |
/* Hooks */
|
| 54 |
add_action(
|
| 55 |
'admin_init',
|
| 26 |
* constructor
|
| 27 |
*
|
| 28 |
* @since 0.0.1
|
| 29 |
+
* @change 1.0.4
|
| 30 |
*/
|
| 31 |
|
| 32 |
public function __construct() {
|
| 40 |
)
|
| 41 |
);
|
| 42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
/* Hooks */
|
| 44 |
add_action(
|
| 45 |
'admin_init',
|
readme.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Contributors: keycdn
|
| 3 |
Tags: cdn, content delivery network, content distribution network
|
| 4 |
Requires at least: 3.8
|
| 5 |
-
Tested up to: 4.
|
| 6 |
Stable tag: trunk
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
@@ -27,6 +27,8 @@ The CDN Enabler plugin has been developed to link your content to the CDN URLs.
|
|
| 27 |
* Enable or disable for HTTPS
|
| 28 |
* Supports [Bedrock](https://roots.io/bedrock/ "Bedrock CDN")
|
| 29 |
|
|
|
|
|
|
|
| 30 |
|
| 31 |
= System Requirements =
|
| 32 |
* PHP >=5.3
|
|
@@ -34,14 +36,15 @@ The CDN Enabler plugin has been developed to link your content to the CDN URLs.
|
|
| 34 |
|
| 35 |
|
| 36 |
= Author =
|
| 37 |
-
* [Twitter](https://twitter.com/keycdn)
|
| 38 |
-
* [Google+](https://plus.google.com/+Keycdn "Google+")
|
| 39 |
* [KeyCDN](https://www.keycdn.com "KeyCDN")
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
== Changelog ==
|
| 44 |
|
|
|
|
|
|
|
|
|
|
| 45 |
= 1.0.3 =
|
| 46 |
* Improved exclusions for directories and extensions
|
| 47 |
|
|
@@ -57,3 +60,5 @@ The CDN Enabler plugin has been developed to link your content to the CDN URLs.
|
|
| 57 |
|
| 58 |
|
| 59 |
== Screenshots ==
|
|
|
|
|
|
| 2 |
Contributors: keycdn
|
| 3 |
Tags: cdn, content delivery network, content distribution network
|
| 4 |
Requires at least: 3.8
|
| 5 |
+
Tested up to: 4.7
|
| 6 |
Stable tag: trunk
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 27 |
* Enable or disable for HTTPS
|
| 28 |
* Supports [Bedrock](https://roots.io/bedrock/ "Bedrock CDN")
|
| 29 |
|
| 30 |
+
> The CDN Enabler works perfectly with the fast and lightweight [WordPress Cache Enabler](https://wordpress.org/plugins/cache-enabler/) plugin.
|
| 31 |
+
|
| 32 |
|
| 33 |
= System Requirements =
|
| 34 |
* PHP >=5.3
|
| 36 |
|
| 37 |
|
| 38 |
= Author =
|
|
|
|
|
|
|
| 39 |
* [KeyCDN](https://www.keycdn.com "KeyCDN")
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
== Changelog ==
|
| 44 |
|
| 45 |
+
= 1.0.4 =
|
| 46 |
+
* Removed unused code
|
| 47 |
+
|
| 48 |
= 1.0.3 =
|
| 49 |
* Improved exclusions for directories and extensions
|
| 50 |
|
| 60 |
|
| 61 |
|
| 62 |
== Screenshots ==
|
| 63 |
+
|
| 64 |
+
1. CDN Enabler settings page
|
