reducing loglevel to eliminate showing errors bug

This commit is contained in:
Peter Molnar 2014-09-12 07:38:31 +01:00
parent d439747564
commit 74869fa77f
3 changed files with 8 additions and 3 deletions

View file

@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: cache, page cache, full page cache, nginx, memcached, apc, speed
Requires at least: 3.0
Tested up to: 4.0
Stable tag: 1.6.2
Stable tag: 1.6.3
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@ -106,6 +106,11 @@ Version numbering logic:
* every .B version indicates new features.
* every ..C indicates bugfixes for A.B version.
= 1.6.3 =
*2014-09-12*
* there were still some alway-on log messages
= 1.6.2 =
*2014-09-05*

View file

@ -1210,7 +1210,7 @@ class WP_FFPC extends PluginAbstract {
* log wrapper to include options
*
*/
public function log ( $message, $log_level = LOG_WARNING ) {
public function log ( $message, $log_level = LOG_NOTICE ) {
if ( !isset ( $this->options['log'] ) || $this->options['log'] != 1 )
return false;
else

View file

@ -3,7 +3,7 @@
Plugin Name: WP-FFPC
Plugin URI: https://github.com/petermolnar/wp-ffpc
Description: WordPress in-memory full page cache plugin
Version: 1.6.2
Version: 1.6.3
Author: Peter Molnar <hello@petermolnar.eu>
Author URI: http://petermolnar.eu/
License: GPLv3