all repos — wp-ffpc @ f95f0a3f2c5046c5bd3e6684f5ddd66b325830c5

Update wp-ffpc-class.php

! is not needed there
Peter Molnar hello@petermolnar.eu
Sun, 13 Apr 2014 07:23:45 +0100
commit

f95f0a3f2c5046c5bd3e6684f5ddd66b325830c5

parent

3a96ad631e2a16f8aaa948233e52a5c9844fa309

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M wp-ffpc-class.phpwp-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 */