PluginProbe
SQLite Object Cache / 1.6.0
SQLite Object Cache v1.6.0
1.6.5 trunk 0.1.7 1.0.0 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.3.2 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.4.0 1.4.1 1.5.1 1.5.4 1.5.5 1.5.6 1.5.7 All 30 releases
← All changes | includes/lib/class-sqlite-object-cache-statistics.php +3 -3 trunk1.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 }