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
This commit is contained in:
parent
8ccfa6b114
commit
e4a55be2a4
|
@ -16,7 +16,7 @@
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
*/
|
*/
|
||||||
define('WP_INSTALLING', true);
|
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('ABSPATH', dirname(dirname(__FILE__)).'/');
|
||||||
define('WPINC', 'wp-includes');
|
define('WPINC', 'wp-includes');
|
||||||
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
define('WP_CONTENT_DIR', ABSPATH . 'wp-content');
|
||||||
|
|
|
@ -38,7 +38,7 @@ define('ARRAY_N', 'ARRAY_N', false);
|
||||||
* WordPress Database Access Abstraction Object
|
* WordPress Database Access Abstraction Object
|
||||||
*
|
*
|
||||||
* It is possible to replace this class with your own
|
* 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
|
* file with your class. You can name it wpdb also, since
|
||||||
* this file will not be included, if the other file is
|
* this file will not be included, if the other file is
|
||||||
* available.
|
* available.
|
||||||
|
@ -987,7 +987,7 @@ class wpdb {
|
||||||
|
|
||||||
if ( ! isset($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
|
* @global object $wpdb Creates a new wpdb object based on wp-config.php Constants for the database
|
||||||
* @since 0.71
|
* @since 0.71
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue