diff --git a/wp-ffpc-acache.php b/wp-ffpc-acache.php index da503d8..e886d9b 100644 --- a/wp-ffpc-acache.php +++ b/wp-ffpc-acache.php @@ -302,8 +302,11 @@ function wp_ffpc_callback( $buffer ) { $buffer = substr_replace( $buffer, $insertion, $index, 0); } - $wp_ffpc_backend->set ( $wp_ffpc_backend->key ( $wp_ffpc_config['prefix_meta'] ) , $meta ); - $wp_ffpc_backend->set ( $wp_ffpc_backend->key ( $wp_ffpc_config['prefix_data'] ) , $buffer ); + $prefix_meta = $wp_ffpc_backend->key ( $wp_ffpc_config['prefix_meta'] ); + $wp_ffpc_backend->set ( $prefix_meta, $meta ); + + $prefix_data = $wp_ffpc_backend->key ( $wp_ffpc_config['prefix_data'] ); + $wp_ffpc_backend->set ( $prefix_data , $buffer ); if ( $meta['status'] == 404 ) { header("HTTP/1.1 404 Not Found");