all repos — wp-ffpc @ 90f5d4947fee3952ecce7630a8eed76ff2bbeeb5

date & unix time added to HTML comment validation
Peter Molnar hello@petermolnar.eu
Wed, 24 Apr 2013 12:39:21 +0100
commit

90f5d4947fee3952ecce7630a8eed76ff2bbeeb5

parent

d1b52a61f5d2763f1fb268ce374597fa26b4eaf8

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

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

@@ -291,7 +291,7 @@ global $wp_ffpc_gentime;

$mtime = explode ( " ", microtime() ); $wp_ffpc_gentime = ( $mtime[1] + $mtime[0] )- $wp_ffpc_gentime; - $insertion = "<!-- \nWP-FFPC \n\tcache engine: ". $wp_ffpc_config['cache_type'] ."\n\tpage generation time: ". round( $wp_ffpc_gentime, 3 ) ." seconds\n-->\n"; + $insertion = "\n<!-- \nWP-FFPC \n\tcache engine: ". $wp_ffpc_config['cache_type'] ."\n\tpage generation time: ". round( $wp_ffpc_gentime, 3 ) ." seconds\n\tgeneraton UNIX timestamp: ". time() . "\n\tgeneraton date: ". date( 'c' ) . "\n-->\n"; $index = stripos( $buffer , '</body>' ); $buffer = substr_replace( $buffer, $insertion, $index, 0);