all repos — wp-ffpc @ 6cd27fe498b98f42fb7ed5f83bce41427dbe10cc

Merge pull request #15 from haroldkyle/master

Removed PHP strict notices.
Peter Molnar hello@petermolnar.eu
Wed, 09 Apr 2014 21:27:43 +0100
commit

6cd27fe498b98f42fb7ed5f83bce41427dbe10cc

parent

f21ce5878055b190896c0e3758a27263bafd9de4

2 files changed, 6 insertions(+), 3 deletions(-)

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

@@ -302,8 +302,11 @@

$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");
M wp-ffpc-class.phpwp-ffpc-class.php

@@ -448,7 +448,7 @@ <span class="description"><?php _e('Select backend storage driver', $this->plugin_constant); ?></span>

</dd> <dt> - <label for="expire"><?php _e('Expiration time (ms)', $this->plugin_constant); ?></label> + <label for="expire"><?php _e('Expiration time (seconds)', $this->plugin_constant); ?></label> </dt> <dd> <input type="number" name="expire" id="expire" value="<?php echo $this->options['expire']; ?>" />