From e4a55be2a4feac46a4beb7319ccc9f49453a1d0e Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 2 Oct 2008 16:45:28 +0000 Subject: [PATCH] Fix phpdoc comments to refer to wp-content/db.php. Props DD32. git-svn-id: http://svn.automattic.com/wordpress/trunk@9067 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/setup-config.php | 2 +- wp-includes/wp-db.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/setup-config.php b/wp-admin/setup-config.php index cf759aee3..786278c58 100644 --- a/wp-admin/setup-config.php +++ b/wp-admin/setup-config.php @@ -16,7 +16,7 @@ * @package WordPress */ define('WP_INSTALLING', true); -//These three defines are required to allow us to use require_wp_db() to load the database class while being wp-content/wp-db.php aware +//These three defines are required to allow us to use require_wp_db() to load the database class while being wp-content/db.php aware define('ABSPATH', dirname(dirname(__FILE__)).'/'); define('WPINC', 'wp-includes'); define('WP_CONTENT_DIR', ABSPATH . 'wp-content'); diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php index be29054a3..0b6d653d9 100644 --- a/wp-includes/wp-db.php +++ b/wp-includes/wp-db.php @@ -38,7 +38,7 @@ define('ARRAY_N', 'ARRAY_N', false); * WordPress Database Access Abstraction Object * * It is possible to replace this class with your own - * by setting the $wpdb global variable in wp-content/wpdb.php + * by setting the $wpdb global variable in wp-content/db.php * file with your class. You can name it wpdb also, since * this file will not be included, if the other file is * available. @@ -987,7 +987,7 @@ class wpdb { if ( ! isset($wpdb) ) { /** - * WordPress Database Object, if it isn't set already in wp-content/wpdb.php + * WordPress Database Object, if it isn't set already in wp-content/db.php * @global object $wpdb Creates a new wpdb object based on wp-config.php Constants for the database * @since 0.71 */