PluginProbe
SQLite Database Integration / 2.2.0
SQLite Database Integration v2.2.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 2.2.3 All 32 releases
← All changes | db.copy +1 -4 2.2.202.2.0 View file →
@@ -45,12 +45,9 @@
45 45 }
46 46 if ( ! function_exists( 'activate_plugin' ) ) {
47 47 require_once ABSPATH . 'wp-admin/includes/plugin.php';
48 48 }
49 -
50 - $plugin_path = WP_PLUGIN_DIR . '/' . '{SQLITE_PLUGIN}';
51 -
52 - if ( file_exists( $plugin_path ) && is_plugin_inactive( '{SQLITE_PLUGIN}' ) ) {
49 + if ( is_plugin_inactive( '{SQLITE_PLUGIN}' ) ) {
53 50 // If `activate_plugin()` returns a value other than null (like WP_Error),
54 51 // the plugin could not be found. Try with a hardcoded string,
55 52 // because that probably means the file was directly copy-pasted.
56 53 if ( null !== activate_plugin( '{SQLITE_PLUGIN}', '', false, true ) ) {