Skip to content

Commit f77934d

Browse files
committed
Added some notes
1 parent 96cfb8f commit f77934d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sqlite.php

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
/**
1515
* Add the db.php file in wp-content.
16+
*
17+
* When the plugin gets merged in wp-core, this is not to be ported.
1618
*/
1719
function sqlite_plugin_copy_db_file() {
1820
$destination = WP_CONTENT_DIR . '/db.php';
@@ -33,6 +35,8 @@ function sqlite_plugin_copy_db_file() {
3335

3436
/**
3537
* Delete the db.php file in wp-content.
38+
*
39+
* When the plugin gets merged in wp-core, this is not to be ported.
3640
*/
3741
function sqlite_plugin_remove_db_file() {
3842
$destination = WP_CONTENT_DIR . '/db.php';
@@ -49,6 +53,8 @@ function sqlite_plugin_remove_db_file() {
4953

5054
/**
5155
* Add admin notices.
56+
*
57+
* When the plugin gets merged in wp-core, this is not to be ported.
5258
*/
5359
function sqlite_plugin_admin_notice() {
5460
// Check if the wp-content/db.php file exists.
@@ -76,6 +82,9 @@ function sqlite_plugin_admin_notice() {
7682
/**
7783
* Filter debug data in site-health screen.
7884
*
85+
* When the plugin gets merged in wp-core, these should be merged in src/wp-admin/includes/class-wp-debug-data.php
86+
* See https://github.com/WordPress/wordpress-develop/pull/3220/files
87+
*
7988
* @param array $info The debug data.
8089
*/
8190
function sqlite_plugin_filter_debug_data( $info ) {

0 commit comments

Comments
 (0)