[wp-trac] [WordPress Trac] #17533: Incorrect wpdb class docs

WordPress Trac wp-trac at lists.automattic.com
Sat May 21 21:17:57 UTC 2011


#17533: Incorrect wpdb class docs
-------------------------+-----------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Inline Docs  |    Version:  3.2
 Severity:  normal       |   Keywords:
-------------------------+-----------------------------
 The inline docs for the `wpdb` class says:

 {{{
 /**
  * WordPress Database Access Abstraction Object
  *
  * It is possible to replace this class with your own
  * 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.
 }}}

 This is incorrect because `wp-includes/wp-db.php` is always included.

 Patch coming up.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17533>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list