date & unix time added to HTML comment validation
Peter Molnar hello@petermolnar.eu
Wed, 24 Apr 2013 12:39:21 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
wp-ffpc-acache.php
→
wp-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);