Changeset 6426 for trunk/wp-includes/wp-db.php
- Timestamp:
- 12/20/2007 02:10:09 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/wp-db.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/wp-db.php
r6391 r6426 116 116 <ul> 117 117 <li>Are you sure it exists?</li> 118 <li>Does the user <code>".DB_USER."</code> have permission to use the <code>$db</code> database?</li> 118 119 <li>On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?</li> 119 120 </ul> … … 463 464 */ 464 465 function bail($message) { // Just wraps errors in a nice header and footer 465 if ( !$this->show_errors ) 466 if ( !$this->show_errors ) { 467 if ( class_exists('WP_Error') ) 468 $this->error = new WP_Error('500', $message); 469 else 470 $this->error = $message; 466 471 return false; 472 } 467 473 wp_die($message); 468 474 } 475 469 476 /** 470 477 * Checks wether of not the database version is high enough to support the features WordPress uses
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)