PluginProbe
SQLite Database Integration / 3.1.0
SQLite Database Integration v3.1.0
3.1.0 3.0.2 3.0.1 trunk 2.1.13 2.1.14 2.1.15 2.1.16 2.2.0 2.2.1 2.2.10 2.2.11 2.2.12 2.2.13 2.2.14 2.2.15 2.2.16 2.2.17 2.2.18 2.2.19 2.2.2 2.2.20 2.2.21 2.2.22 2.2.23 All 33 releases
← All changes | health-check.php +4 -2 3.0.1 → 3.1.0 View file →
@@ -32,15 +32,17 @@
32 32 );
33 33
34 34 $info['wp-database']['fields']['database_file'] = array(
35 35 'label' => __( 'Database file', 'sqlite-database-integration' ),
36 - 'value' => FQDB,
36 + 'value' => DB_PATH,
37 37 'private' => true,
38 38 );
39 39
40 40 $info['wp-database']['fields']['database_size'] = array(
41 41 'label' => __( 'Database size', 'sqlite-database-integration' ),
42 - 'value' => size_format( filesize( FQDB ) ),
42 + 'value' => ':memory:' === DB_PATH
43 + ? __( 'Not available', 'sqlite-database-integration' )
44 + : size_format( filesize( DB_PATH ) ),
43 45 );
44 46
45 47 unset( $info['wp-database']['fields']['extension'] );
46 48 unset( $info['wp-database']['fields']['server_version'] );