[wp-cvs] wordpress/wp-includes wp-db.php,1.16,1.17
Matthew Mullenweg
saxmatt at users.sourceforge.net
Fri Nov 19 02:18:25 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20796/wp-includes
Modified Files:
wp-db.php
Log Message:
Don't cache pages with DB errors.
Index: wp-db.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/wp-db.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** wp-db.php 21 Aug 2004 01:50:59 -0000 1.16
--- wp-db.php 19 Nov 2004 02:18:23 -0000 1.17
***************
*** 94,98 ****
// If there is an error then take note of it
print "<div id='error'>
! <p><strong>Database error:</strong> [$str]<br />
<code>$this->last_query</code></p>
</div>";
--- 94,98 ----
// If there is an error then take note of it
print "<div id='error'>
! <p class='wpdberror'><strong>WordPress database error:</strong> [$str]<br />
<code>$this->last_query</code></p>
</div>";
More information about the cvs
mailing list