From 28dd4c869d87d4d221856298dbc4dc483ff9ecfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donncha=20=C3=93=20Caoimh?= Date: Wed, 26 Jul 2017 15:42:32 +0100 Subject: [PATCH] Update docs and version to 1 5 2 (#320) * Bump version to 1.5.2 and update changelog * Removed changelog as it's generated from SVN changes. * Change link from changelog to GH commit list. --- Changelog.txt | 665 -------------------------------------------------- readme.txt | 21 +- wp-cache.php | 2 +- 3 files changed, 18 insertions(+), 670 deletions(-) delete mode 100644 Changelog.txt diff --git a/Changelog.txt b/Changelog.txt deleted file mode 100644 index 4f25e56d..00000000 --- a/Changelog.txt +++ /dev/null @@ -1,665 +0,0 @@ -2017-02-03 17:17 donncha - - * readme.txt, wp-cache.php: Bump version number to 1.4.9 and update - changelog - -2017-02-03 17:11 donncha - - * wp-cache-phase1.php, wp-cache-phase2.php, wp-cache.php: * Github - merge: - * Make sure $cache_path has a trailing slash - (https://github.com/Automattic/wp-super-cache/pull/77) - * Remove flush() - (https://github.com/Automattic/wp-super-cache/pull/127) but also - check if headers are empty and flush and get headers again. - (https://github.com/Automattic/wp-super-cache/pull/179) - * Add fix for customizer - (https://github.com/Automattic/wp-super-cache/pull/161) and don't - cache PUT AND DELETE requests - (https://github.com/Automattic/wp-super-cache/pull/178) - * Check for superglobals before using them. - (https://github.com/Automattic/wp-super-cache/pull/131) - -2017-02-03 16:54 donncha - - * plugins/multisite.php, wp-cache-base.php, wp-cache.php: Github - merge: Need to check more than WP_ALLOW_MULTISITE to detect - multisite installs. - https://github.com/Automattic/wp-super-cache/issues/97 - -2017-02-03 15:07 donncha - - * wp-cache-phase1.php: Github merge: - https://github.com/Automattic/wp-super-cache/pull/161 and also - don't cache PUT and DELETE requests (caught earlier than before) - -2017-02-03 14:45 donncha - - * plugins/jetpack.php: Remove extra ">", props @dd32 - https://github.com/Automattic/wp-super-cache/pull/168 - -2017-02-03 14:37 donncha - - * wp-super-cache.pot: Updated translation file - -2017-02-03 14:33 donncha - - * wp-cache.php: github merge: some of the changes that were - supposed to be checked in the previous merge didn't make it. - -2017-02-03 10:18 donncha - - * readme.txt: * Bump the tested version. - * Update the changelog - -2017-02-03 10:13 donncha - - * Changelog.txt: Updated changelog - -2017-02-02 18:14 donncha - - * readme.txt: Updated readme.txt changelog and docs - -2017-02-02 18:08 donncha - - * ossdl-cdn.php, readme.txt, wp-cache-phase2.php, wp-cache.php: - Sync with GITHUB: - * Don't delete so many files on blogs with static homepages. - https://github.com/Automattic/wp-super-cache/pull/175 - * Discourage use of file locking because semaphores cause - problems and it's not needed. - https://github.com/Automattic/wp-super-cache/pull/174 - * Reorganise the settings page in small ways - https://github.com/Automattic/wp-super-cache/pull/173 - * Fixed XSS in settings page. Props @jaypatel - https://github.com/Automattic/wp-super-cache/pull/172 - -2017-01-11 16:58 kraftbj - - * readme.txt, wp-cache-phase2.php: Github #138: Do not cache - PUT/DELETE requests - -2016-12-09 15:38 kraftbj - - * wp-cache-phase2.php: Check that header parts exist to avoid - `Undefined Index` notices - -2016-12-09 15:37 kraftbj - - * wp-cache-phase2.php: Update to Git master - -2016-12-09 10:25 donncha - - * readme.txt: Bump the "tested up to" value - -2016-08-01 20:39 kraftbj - - * readme.txt: Bump tested version to 4.6 - -2016-05-09 14:56 kraftbj - - * readme.txt: Bump tested version - -2016-03-07 15:24 kraftbj - - * readme.txt: Update readme for previous commit - -2016-03-07 15:20 kraftbj - - * wp-cache-phase2.php: Catch up SVN to GH - -2016-03-07 13:46 donncha - - * readme.txt, wp-cache.php: Bumped version to 1.4.8 and updated - changelog - -2016-03-07 13:39 donncha - - * wp-super-cache.pot: Updated translation pot file - -2016-03-07 12:37 donncha - - * wp-cache.php: Remove this link as Google is reporting it as - malware. It's still available at - https://web.archive.org/web/20150914095007/http://bytes.com/topic/php/answers/3917-seconds-converted-hh-mm-ss. - Ref: https://github.com/Automattic/wp-super-cache/issues/106 - -2015-12-16 18:14 kraftbj - - * readme.txt, wp-cache.php: Update readme for 1.4.7 - -2015-12-16 16:59 kraftbj - - * wp-cache.php: Fix settings page layout breakage in 4.4. - -2015-12-02 15:50 kraftbj - - * ossdl-cdn.php, wp-cache.php: Corrects typos. See - https://github.com/Automattic/wp-super-cache/issues/81 - - props https://github.com/christophherr - -2015-10-21 19:54 kraftbj - - * wp-cache-phase1.php: Remove variable no longer defined after - previous update. - -2015-10-09 18:06 donncha - - * Changelog.txt, readme.txt, wp-cache.php: Bump version to 1.4.6 - and update changelog - -2015-10-08 17:14 donncha - - * wp-cache.php: Don't check if .htaccess already created as the - index check already created it. Props Tigertech. Ref: - https://wordpress.org/support/topic/all-website-pages-downloading-gz-file-after-latest-update?replies=28#post-7494087 - -2015-09-25 11:20 donncha - - * Changelog.txt: Updated changelog - -2015-09-25 10:55 donncha - - * readme.txt, wp-cache.php: Bump version to release 1.4.5 and add - changelog - -2015-09-24 15:37 donncha - - * wp-cache-base.php, wp-cache-phase1.php, wp-cache-phase2.php, - wp-cache.php: * Add index.html files and "-index" directives to - stop indexing of directories - * Sanitise input on settings page - * MD5 the cookie, use JSON to encode meta files, and rename them - to .php - -2015-09-24 11:37 donncha - - * readme.txt: Changed homepage link and ocaoimh.ie to z9.io - -2015-09-24 11:33 donncha - - * readme.txt: Minor update to the description of cache rebuild - feature. - -2015-09-24 10:39 donncha - - * wp-cache-phase2.php: Reduce "needs rebuild" time to 10 seconds, - so those pages refresh faster. - -2015-08-28 16:28 donncha - - * wp-cache-phase1.php: Because sometimes your editing in HTTPS - while your site is on HTTP. Thanks kraftbj - -2015-08-25 21:42 kraftbj - - * wp-cache-phase2.php: Swap post_permalink with get_permalink. Both - are exactly the same and old enough to not impact any users. - post_permalink slated for deprecation in 4.4. - -2015-08-10 14:06 donncha - - * wp-cache-phase2.php: Avoid PHP warnings, props @daneodekirk - -2015-08-10 13:25 donncha - - * wp-cache.php: Use $wpdb->blogid rather than get_current_blog_id - as the former returns 0 on single site installs. Props - @daneodekirk - -2015-07-30 10:13 donncha - - * Changelog.txt, readme.txt: Updated changelog - -2015-07-29 13:08 donncha - - * wp-cache-phase2.php: Remove this function call as it's not - defined. Ref: - https://github.com/Automattic/wp-super-cache/commit/4f3229009e5c6c8487dd883910ea076a8e3b7e26 - -2015-07-27 16:36 kraftbj - - * wp-cache.php: Don't flush settings for expiry time and garbage - collection. See - https://github.com/Automattic/wp-super-cache/pull/49 - -2015-07-27 16:28 donncha - - * wp-cache-base.php: Remove CacheMeta class as it's not used any - more and caused APC errors. Ref: - https://github.com/Automattic/wp-super-cache/pull/21 - -2015-07-24 15:21 kraftbj - - * wp-cache.php: Check if listfile isset to prevent PHP warning. - -2015-07-23 13:56 donncha - - * wp-cache.php: Remember the settings on the advanced settings page - when submitting the easy settings form. Thanks Jeremy Herve for - the bug report! - -2015-07-22 15:52 donncha - - * Changelog.txt, readme.txt: Updated changelog - -2015-07-22 11:25 donncha - - * wp-cache-phase2.php: Fixed typo in debug log entry - -2015-07-15 11:56 donncha - - * wp-cache.php: * Added uninstall function as well as deactivate - function. The deactivate function does not delete the config file - but it does disable caching because scheduled jobs must be - enabled in the settings page when the config file is used on - activation again. - * Fixed a bug where deactivating the plugin without visiting the - settings page causes a fatal error so the plugin can't be - deactivated - -2015-07-02 14:19 donncha - - * wp-cache-phase2.php: Minor changes to debugging - -2015-07-02 13:58 donncha - - * wp-cache-phase2.php: * prune_super_cache: exit immediately if the - file to be deleted doesn't exist - * Add extra debugging - -2015-07-02 12:10 donncha - - * wp-cache-phase2.php: Remove https from the home url as well - -2015-07-01 16:37 donncha - - * wp-cache-phase2.php: As so many checks for "should we cache this - page?" were put to the end of page generation the rebuild system - was broken. This fixes it by deleting the rebuild files created - earlier if the current page isn't to be cached (and thus creating - new cache files) - -2015-07-01 15:46 donncha - - * wp-cache-phase1.php: Always make sure supercachedirs have - trailing slashes - -2015-07-01 15:30 donncha - - * wp-cache-phase1.php: Cache the output of - wp_cache_get_cookies_values() for repeat calls - -2015-07-01 14:59 donncha - - * wp-cache-phase1.php: Use the pid to help logging on busy servers - -2015-07-01 14:51 donncha - - * plugins/domain-mapping.php: Suercache urls end in slashes - -2015-06-23 15:32 kraftbj - - * wp-cache-phase1.php: Check for If-Modified-Since before using it - as it is not always defined. - -2015-06-03 02:36 kraftbj - - * advanced-cache.php: Do not display broken messages for XMLRPC, - REST, AJAX requests. - -2015-05-15 14:12 kraftbj - - * wp-cache-phase2.php, wp-cache.php: Fix improper site_url usage - * Update site_url to home_url in another e-mail subject - * Use admin_url instead of constructing URL from site_url - -2015-05-15 14:08 kraftbj - - * wp-cache.php: Use home_url in Preload Cron e-mails. - -2015-05-15 11:13 donncha - - * wp-cache-phase1.php, wp-cache-phase2.php: Revert 1149165 as it's - not needed any more. - -2015-05-15 11:02 donncha - - * readme.txt: Bump the tested to version number to 4.2.2 - -2015-05-13 21:01 kraftbj - - * wp-cache.php: Improve the 1&1 hosting workaround to reduce false - positives. - -2015-05-01 13:53 donncha - - * wp-cache.php: Check if it's an array to avoid PHP warning - -2015-05-01 13:51 donncha - - * wp-cache-phase2.php: Added some extra debugging - -2015-04-29 16:55 kraftbj - - * readme.txt: Condense changelog to keep it nice and short :) - -2015-04-29 15:58 kraftbj - - * readme.txt: Update changelog to keep pace with trunk. - -2015-04-29 15:45 donncha - - * wp-cache-phase1.php, wp-cache-phase2.php: Check if mb_strlen() - exists before WordPress loads so it doesn't use the limited - mb_strlen compat function in WordPress 4.2. Ref: - https://wordpress.org/support/topic/421-initial-blank-page-load?replies=11 - -2015-04-28 15:53 kraftbj - - * readme.txt: Add previous commits to readme.txt as a running - changelog to make it easier to compile for next release. - -2015-04-28 15:24 kraftbj - - * wp-cache.php: Preload Cron E-mail Updates - -2015-04-28 15:17 kraftbj - - * wp-cache.php: Preload only public post types. See - https://github.com/Automattic/wp-super-cache/pull/18 - -2015-04-21 18:22 kraftbj - - * readme.txt: Tested to tag bump to 4.2 - -2015-04-07 16:00 donncha - - * wp-cache-phase2.php: Don't disable supercache caching on CRON - requests. Fixes problems clearing front page cache on scheduled - posts - -2015-04-04 22:57 donncha - - * wp-cache-phase1.php: Fix the log_message, finally. Props - webaware. - -2015-04-04 12:17 donncha - - * Changelog.txt: Updated changelog - -2015-04-04 12:13 donncha - - * readme.txt: Updated changelog - -2015-04-04 12:12 donncha - - * wp-cache-phase1.php: Make sure we log the actual message in the - debug log. - -2015-04-04 12:00 donncha - - * Changelog.txt: Updated changelog - -2015-04-04 11:55 donncha - - * readme.txt, wp-cache.php: Bump version to 1.4.4 and update - changelog - -2015-04-04 11:47 donncha - - * wp-cache-phase1.php, wp-cache-phase2.php: Don't use print_r to - view GET variables as it causes a fatal PHP error in the output - buffer handler. Props webaware - https://wordpress.org/support/topic/print_r-debug-messages-break-pages-with-query-args?replies=2 - -2015-04-03 16:51 donncha - - * Changelog.txt: Updated changelog - -2015-04-03 16:44 donncha - - * readme.txt, wp-cache.php: Bump version to 1.4.3, update - changelog, and add link to GIT repo. - -2015-04-03 15:37 donncha - - * wp-cache.php: Escape the contents of the cache list to avoid - surprises. Props Marc Montpas from Sucuri. - -2014-12-18 10:55 jeherve - - * readme.txt: Bump testing to 4.1 - -2014-10-10 14:07 kraftbj - - * plugins/jetpack.php, wp-cache-phase1.php, wp-cache-phase2.php, - wp-cache.php: Removing variable checks since wp_cache_debug does - it already. Ref: - https://github.com/Automattic/wp-super-cache/pull/15 - -2014-10-10 14:06 kraftbj - - * readme.txt: Catch up to SVN - -2014-10-10 14:06 kraftbj - - * readme.txt: Add Jetpack to mobile FAQ. - -2014-09-04 14:16 kraftbj - - * readme.txt: Bumped testing to 4.0 - -2014-08-11 19:06 donncha - - * plugins/dynamic-cache-test.php: Because without a h we'd have - time keeping. Fixed a typo. - -2014-08-11 18:44 donncha - - * plugins/dynamic-cache-test.php: Added cronology of a request - -2014-08-11 18:22 donncha - - * plugins/dynamic-cache-test.php: Fixed the safety function in the - first example test function - -2014-08-08 16:27 donncha - - * Changelog.txt, readme.txt, wp-cache.php: Bump version to 1.4.2 - and update changelog - -2014-08-08 13:07 donncha - - * wp-cache-phase1.php: Just in case the local modified time of a - file is 0, disable the "last modified time" check. - -2014-08-08 11:32 donncha - - * plugins/domain-mapping.php: Check if HTTPS exists before checking - it's value to avoid warnings - -2014-08-08 11:24 donncha - - * wp-cache.php: Replace wpdb->escape with esc_sql() as it's - deprecated. - -2014-08-08 11:21 donncha - - * wp-cache-phase2.php: Make sure $wp_cache_no_cache_for_get, - $wp_cache_object_cache, $wp_cache_request_uri are visible to the - OB callback to avoid warnings and fix functionality - -2014-08-07 14:00 donncha - - * Changelog.txt, readme.txt, wp-cache.php: Updated changelog, - documentation, bumped version number to 1.4.1 and tested version. - -2014-08-07 12:45 donncha - - * wp-cache.php: Removed author information - -2014-08-06 12:41 kraftbj - - * plugins/awaitingmoderation.php, plugins/badbehaviour.php, - plugins/domain-mapping.php, plugins/jetpack.php, - plugins/searchengine.php, plugins/wptouch.php, wp-cache.php: PR - #13: Added .button-primary and .button-secondary classes to and - removed »'s from buttons throughout the admin for - consistency. Ref: - https://github.com/Automattic/wp-super-cache/pull/13 Props: - rcowles - -2014-08-05 20:00 kraftbj - - * ossdl-cdn.php, readme.txt, wp-cache.php: Fix bad merge. - -2014-08-05 19:56 kraftbj - - * readme.txt: Add Jetpack to mobile FAQ. - -2014-08-05 19:56 kraftbj - - * wp-cache.php: Remove CDN Sync Tools. No longer in WP.org repo - -2014-08-05 19:55 kraftbj - - * ossdl-cdn.php, readme.txt, wp-cache.php: Update - wordpress.org/extend URLs - -2014-08-05 12:42 donncha - - * wp-cache.php: Fix to avoid an XSS in the settings page. Props - Simon Waters, Surevine Limited. - -2014-08-04 22:04 kraftbj - - * ossdl-cdn.php: Remove reference to CDN Sync. Plugin no longer in - repo. - -2014-07-31 21:09 kraftbj - - * readme.txt: Add Jetpack to mobile FAQ. - -2014-07-31 21:09 kraftbj - - * wp-cache.php: Remove CDN Sync Tools. No longer in WP.org repo - -2014-07-31 21:08 kraftbj - - * ossdl-cdn.php, readme.txt, wp-cache-phase1.php, wp-cache.php: - Update wordpress.org/extend URLs - -2014-07-31 21:08 kraftbj - - * plugins/awaitingmoderation.php, plugins/badbehaviour.php, - plugins/domain-mapping.php, plugins/dynamic-cache-test.php, - plugins/jetpack.php, plugins/searchengine.php, - plugins/wptouch.php: Trim whitespace - -2014-07-31 21:07 kraftbj - - * wp-cache-config-sample.php, wp-cache-phase1.php, wp-cache.php: - Trim whitespace - -2014-07-31 21:06 kraftbj - - * wp-cache.php: Admin: Add clear to h3 to pretify Recommended Links - title - -2014-07-31 20:51 donncha - - * wp-cache-phase2.php: Make sure these are global so the function - knows about them. Props JoHenton and richardmtl - http://wordpress.org/support/topic/notices-appearing-above-site-pages-how-do-i-get-rid-of-them?replies=2 - -2014-04-17 16:21 donncha - - * readme.txt: Bump tested version to 3.9 - -2014-03-11 17:58 donncha - - * wp-cache.php: Fix undefined variables warnings. Ref: - http://wordpress.org/support/topic/plugin-wp-super-cache-lot-of-undefined-variables-and-couple-of-warnings?replies=4 - -2014-03-07 18:00 donncha - - * plugins/dynamic-cache-test.php: Better comments and rearrange - example scripts - -2014-03-05 12:37 donncha - - * wp-cache-phase1.php: HTTP_IF_MODIFIED_SINCE isn't always defined, - so check first. - http://wordpress.org/support/topic/undefined-index-http_if_modified_since?replies=1 - -2014-03-05 11:54 donncha - - * wp-cache-phase1.php, wp-cache-phase2.php: Don't check "do not - cache" conditions until after page buffer has been filled. Ref: - http://wordpress.org/support/topic/bug-dynamic-cache-tags-are-not-replaced-because-of-wp_cache_phase2-conditions - -2014-03-04 17:26 donncha - - * wp-cache-phase2.php: Added the function wp_cache_maybe_dynamic() - to run buffer through the dynamic cache filter if callback - returned early. Ref: - http://wordpress.org/support/topic/bug-dynamic-cache-tags-are-not-replaced-because-of-wp_cache_phase2-conditions?replies=1 - -2014-03-04 16:27 donncha - - * wp-cache-phase1.php: Hide any warnings from this opendir() as it - somehow fails occasionally. - -2014-02-25 17:48 donncha - - * wp-cache.php: Clear the cache for the current blog only, don't - want to mess with other multisite blogs - -2014-02-25 16:24 donncha - - * readme.txt: Bump tested version to current WP version - -2013-11-29 15:34 donncha - - * wp-cache-phase2.php: Check that $post is an object as this - function is used for more than just post changes. - http://wordpress.org/support/topic/error-switching-themes?replies=2 - -2013-11-12 09:55 donncha - - * advanced-cache.php: Don't show the "advanced-cache.php warning" - when the plugin isn't loaded, props RobertHarm, - http://wordpress.org/support/topic/wp-super-cache-breaks-leaflet-maps-marker-plugin - -2013-10-25 14:37 donncha - - * wp-cache.php: Define $disable_supercache_htaccess_warning if not - set to avoid PHP warnings, ref: - http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1, - props @mattV - -2013-10-25 14:33 donncha - - * wp-cache-base.php: Avoid a PHP warning if $base is not set. Ref: - http://wordpress.org/support/topic/just-a-few-notices-non-critical?replies=1 - -2013-10-25 09:29 donncha - - * wp-cache.php: Only display the WPCACHEHOME warning if WP_CACHE is - defined and true. Warning won't show until settings page loaded - that WP_CACHE added to wp-config.php - -2013-10-24 11:23 donncha - - * wp-cache.php: Add trailing slashes to the admin bar path, to fix - the path when no trailing slash is used. Props @gonperesgmailcom - http://wordpress.org/support/topic/fixed-delete-individual-pages-from-cache?replies=2 - -2013-10-23 10:56 donncha - - * readme.txt, wp-cache.php: Bump version to 1.4 and tested version - to 3.6.1 - - diff --git a/readme.txt b/readme.txt index f94e83de..23027864 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: donncha, automattic, kraftbj Tags: performance,caching,wp-cache,wp-super-cache,cache Tested up to: 4.8 -Stable tag: 1.5.1 +Stable tag: 1.5.2 Requires at least: 3.0 A very fast caching engine for WordPress that produces static html files. @@ -46,7 +46,7 @@ See the [WP Super Cache homepage](https://wordpress.org/plugins/wp-super-cache/) There's a [GIT repository](https://github.com/Automattic/wp-super-cache) too if you want to contribute a patch. -The [changelog](http://svn.wp-plugins.org/wp-super-cache/trunk/Changelog.txt) is a good place to start if you want to know what has changed since you last downloaded the plugin. +The [commit list](https://github.com/Automattic/wp-super-cache/commits/master) is a good place to start if you want to know what has changed since you last downloaded the plugin. Interested in translating WP Super Cache to your language? See the [translation page](https://translate.wordpress.org/projects/wp-plugins/wp-super-cache) for the plugin. @@ -54,11 +54,24 @@ The cache directory, usually wp-content/cache/ is only for temporary files. Do n == Upgrade Notice == -= 1.5.1 = -Emergency fix for sites running outdated WordPress and PHP. += 1.5.2 = +Fix loading the REST API code, finding the .htaccess file, mobile browsers using WP-Cache caching, and more.. == Changelog == += 1.5.2 = +* Add a trailing slash to home path. Fixes problems with finding the .htaccess file. +* Delete WPCACHEHOME and WP_CACHE from wp-config.php when plugin deactivated. +* Check that WPCACHEHOME is the right path on each load of the settings page. +* Load the REST API code without using WPCACHEHOME. +* Fixed mobile browser caching when using WP-Cache caching. +* Fixed directory checks on Windows machines. +* Reverted CDN changes in 1.5.0 as they caused problems in older "WordPress in a separate directory" installs. +* Added note to CDN page when site url != home url. Site owners can use a filter to adjust the URL used. +* Stop preload quicker when requested while preloading taxonomies. +* Added more information for when updating the .htaccess file fails. +* "Served by" header is now optional. Enable it by setting $wpsc_served_header to true in the config file. + = 1.5.1 = * Don't use anonymous functions in REST API * Check that REST API Controller is available before loading the REST API. diff --git a/wp-cache.php b/wp-cache.php index b4b2ccd9..c0d1fe01 100644 --- a/wp-cache.php +++ b/wp-cache.php @@ -3,7 +3,7 @@ Plugin Name: WP Super Cache Plugin URI: https://wordpress.org/plugins/wp-super-cache/ Description: Very fast caching plugin for WordPress. -Version: 1.5.1 +Version: 1.5.2 Author: Automattic Author URI: https://automattic.com/ License: GPL2+