wordpress-develop/src/wp-includes/wp-db.php
Sergey Biryukov fdb6e13fed 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.

git-svn-id: https://develop.svn.wordpress.org/trunk@53749 602fd350-edb4-49c9-b593-d223f7449a82
2022-07-21 15:58:51 +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';