WordPress/wp-includes/wp-db.php
Sergey Biryukov 8484c7babb Coding Standards: Move wp-includes/wp-db.php to wp-includes/class-wpdb.php.
This renames the file containing the `wpdb` class to conform to the coding standards.

This commit also includes:
* A new `wp-db.php` that loads the new file, for anyone that may have been including the file directly.
* Replacing references to the old filename with the new filename.

Fixes #56268. See #55647.
Built from https://develop.svn.wordpress.org/trunk@53749


git-svn-id: http://core.svn.wordpress.org/trunk@53308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-07-21 16:00:15 +00:00

15 lines
329 B
PHP

<?php
/**
* WordPress database access abstraction class.
*
* This file is deprecated, use 'wp-includes/class-wpdb.php' instead.
*
* @deprecated 6.1.0
* @package WordPress
*/
_deprecated_file( basename( __FILE__ ), '6.1.0', WPINC . '/class-wpdb.php' );
/** wpdb class */
require_once ABSPATH . WPINC . '/class-wpdb.php';