-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from l3rady/bug-fix/site-cache-key-not-saving
Site cache key value not being stored correctly
- Loading branch information
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,12 @@ | |
Plugin Name: WordPress APC Object Cache Backend | ||
Plugin URI: https://github.com/l3rady/WordPress-APC-Object-Cache | ||
Description: APC backend for WordPress' Object Cache | ||
Version: 1.1.1 | ||
Version: 1.1.2 | ||
Author: Scott Cariss | ||
Author URI: http://l3rady.com | ||
*/ | ||
|
||
/* Copyright 2014 Scott Cariss (email : [email protected]) | ||
/* Copyright 2015 Scott Cariss (email : [email protected]) | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
|
@@ -1095,7 +1095,7 @@ private function _set_np( $key, $var ) { | |
* @return mixed | ||
*/ | ||
private function _set_cache_version( $key, $version ) { | ||
if ( !$this->apc_available ) { | ||
if ( $this->apc_available ) { | ||
return apc_store( $key, $version ); | ||
} | ||
else { | ||
|