mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
30d9a61fe2
If the file is included directly outside of WordPress core, `ABSPATH` may not be defined. Follow-up to [53749], [53750], [53755]. See #56268, #55647. Built from https://develop.svn.wordpress.org/trunk@53756 git-svn-id: http://core.svn.wordpress.org/trunk@53315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
18 lines
445 B
PHP
18 lines
445 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
|
|
*/
|
|
|
|
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';
|