Update wp-ffpc-class.php

! is not needed there
This commit is contained in:
Peter Molnar 2014-04-13 07:23:45 +01:00
parent 3a96ad631e
commit f95f0a3f2c

View file

@ -183,7 +183,7 @@ if ( ! class_exists( 'WP_FFPC' ) ) {
add_action( 'edit_post', array( &$this->backend , 'clear' ), 0 );
/* add filter for catching canonical redirects */
if ( ! WP_CACHE )
if ( WP_CACHE )
add_filter('redirect_canonical', 'wp_ffpc_redirect_callback', 10, 2);
/* clean up schedule if needed */