-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
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
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ | |
require_once ABSPATH . 'wp-admin/includes/translation-install.php'; | ||
|
||
/** Load wpdb */ | ||
require_once ABSPATH . WPINC . '/wp-db.php'; | ||
require_once ABSPATH . WPINC . '/class-wpdb.php'; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
peterwilsoncc
Contributor
|
||
|
||
nocache_headers(); | ||
|
||
|
Can you add an additional condition check WP version or the file existence? Example: