all repos — wp-ffpc @ 612af9b6e7330b7404683a55db1d5ed574d9facb

Merge pull request #9 from dkcwd/patch-2

Update wp-ffpc-acache.php
Peter Molnar hello@petermolnar.eu
Thu, 03 Apr 2014 15:56:18 +0100
commit

612af9b6e7330b7404683a55db1d5ed574d9facb

parent

24d81687eb32ce1a190d940bfa83fecf07a9b675

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

jump to
M wp-ffpc-acache.phpwp-ffpc-acache.php

@@ -100,7 +100,8 @@ $wp_ffpc_keys = array ( 'meta' => $wp_ffpc_config['prefix_meta'], 'data' => $wp_ffpc_config['prefix_data'] );

$wp_ffpc_values = array(); foreach ( $wp_ffpc_keys as $internal => $key ) { - $value = $wp_ffpc_backend->get ( $wp_ffpc_backend->key ( $key ) ); + $key = $wp_ffpc_backend->key ( $key ); + $value = $wp_ffpc_backend->get ( $key ); if ( ! $value ) { /* does not matter which is missing, we need both, if one fails, no caching */