summaryrefslogtreecommitdiffstats
path: root/wp-includes/wp-db.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/wp-db.php')
-rw-r--r--wp-includes/wp-db.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php
new file mode 100644
index 0000000..73a0111
--- /dev/null
+++ b/wp-includes/wp-db.php
@@ -0,0 +1,17 @@
+<?php
+/**
+ * WordPress database access abstraction class.
+ *
+ * This file is deprecated, use 'wp-includes/class-wpdb.php' instead.
+ *
+ * @deprecated 6.1.0
+ * @package WordPress
+ */
+
+if ( function_exists( '_deprecated_file' ) ) {
+ // Note: WPINC may not be defined yet, so 'wp-includes' is used here.
+ _deprecated_file( basename( __FILE__ ), '6.1.0', 'wp-includes/class-wpdb.php' );
+}
+
+/** wpdb class */
+require_once __DIR__ . '/class-wpdb.php';