14 lines
253 B
PHP
14 lines
253 B
PHP
<?php
|
|
namespace W3TC;
|
|
|
|
global $wp_version;
|
|
|
|
if ( version_compare( $wp_version, '6.1-beta1', '>=' ) ) {
|
|
require_once ABSPATH . WPINC . '/class-wpdb.php';
|
|
} else {
|
|
require_once ABSPATH . WPINC . '/wp-db.php';
|
|
}
|
|
|
|
class DbCache_WpdbBase extends \wpdb {
|
|
}
|