Update wp-ffpc-class.php ! is not needed there
Peter Molnar hello@petermolnar.eu
Sun, 13 Apr 2014 07:23:45 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
wp-ffpc-class.php
→
wp-ffpc-class.php
@@ -183,7 +183,7 @@ add_action( 'deleted_post', array( &$this->backend , 'clear' ), 0 );
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 */