PluginProbe
SQLite Database Integration / trunk
SQLite Database Integration vtrunk
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 2.2.3 All 32 releases
← All changes | db.copy +8 -5 2.2.21trunk View file →
@@ -1,15 +1,13 @@
1 1 <?php
2 2 /**
3 3 * Plugin Name: SQLite integration (Drop-in)
4 - * Version: 1.0.0
4 + * Version: 1.8.0
5 5 * Author: WordPress Performance Team
6 6 * Author URI: https://make.wordpress.org/performance/
7 7 *
8 8 * This file is auto-generated and copied from the sqlite plugin.
9 9 * Please don't edit this file directly.
10 - *
11 - * @package wp-sqlite-integration
12 10 */
13 11
14 12 define( 'SQLITE_DB_DROPIN_VERSION', '1.8.0' );
15 13
@@ -23,12 +21,17 @@
23 21 if ( ! $sqlite_plugin_implementation_folder_path || ! file_exists( $sqlite_plugin_implementation_folder_path . '/wp-includes/sqlite/db.php' ) ) {
24 22 return;
25 23 }
26 24
27 -// Constant for backward compatibility.
25 +/**
26 + * Legacy database type marker.
27 + *
28 + * @deprecated 3.0.0 Use DB_ENGINE instead.
29 + */
28 30 if ( ! defined( 'DATABASE_TYPE' ) ) {
29 31 define( 'DATABASE_TYPE', 'sqlite' );
30 32 }
33 +
31 34 // Define SQLite constant.
32 35 if ( ! defined( 'DB_ENGINE' ) ) {
33 36 define( 'DB_ENGINE', 'sqlite' );
34 37 }
@@ -35,9 +38,9 @@
35 38
36 39 // Require the implementation from the plugin.
37 40 require_once $sqlite_plugin_implementation_folder_path . '/wp-includes/sqlite/db.php';
38 41
39 -// Activate the performance-lab plugin if it is not already activated.
42 +// Activate the SQLite Database Integration plugin if it is not already activated.
40 43 add_action(
41 44 'admin_footer',
42 45 function() {
43 46 if ( defined( 'SQLITE_MAIN_FILE' ) ) {