← All changes
|
includes/lib/class-sqlite-object-cache-statistics.php
+3
-3
trunk
→
1.6.0
View file →
| @@ -92,10 +92,10 @@ | ||
| 92 | 92 | |
| 93 | 93 | if ( method_exists( $wp_object_cache, 'sqlite_remove_expired' ) ) { |
| 94 | 94 | $wp_object_cache->sqlite_remove_expired(); |
| 95 | 95 | } |
| 96 | - // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 97 | - echo '<!-- apcusalt: ' . esc_attr( $wp_object_cache->apcusalt ) . '-->' . PHP_EOL; | |
| 96 | + | |
| 97 | + echo '<!-- apcusalt: ' . $wp_object_cache->apcusalt . '-->' . PHP_EOL; | |
| 98 | 98 | foreach ( $wp_object_cache->sqlite_load_statistics() as $data ) { |
| 99 | 99 | $first = min( $data->time, $first ); |
| 100 | 100 | $last = max( $data->time, $last ); |
| 101 | 101 | $DISKLookupsPerRequest[] = $data->DISKhits + $data->DISKmisses; |
| @@ -531,9 +531,9 @@ | ||
| 531 | 531 | $latest = max( $latest, $ts ); |
| 532 | 532 | $splits = explode( '|', $item->name, 2 ); |
| 533 | 533 | $group = $splits[0]; |
| 534 | 534 | $group = preg_replace( '/^([^_]+)_.+_(relationships)$/', '\1-*-\2', $group ); |
| 535 | - $group = preg_replace( '/_[ 0-9a-f._]+$/', '_*', $group ); | |
| 535 | + $group = preg_replace( '/_[ 0-9._]+$/', '_*', $group ); | |
| 536 | 536 | if ( ! array_key_exists( $group, $grouplength ) ) { |
| 537 | 537 | $grouplength[ $group ] = 0; |
| 538 | 538 | $groupcount[ $group ] = 0; |
| 539 | 539 | } |