[wp-trac] [WordPress Trac] #4597: Change require to require_once
for db.php
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 9 02:20:20 GMT 2007
#4597: Change require to require_once for db.php
--------------------------+-------------------------------------------------
Reporter: intoxination | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.3 (trunk)
Component: General | Version: 2.2.1
Severity: normal | Keywords: has-patch wp-settings database
--------------------------+-------------------------------------------------
If wp-content/db.php is found, it is just required, instead of
require_once. This can cause problems in some versions of PHP 5.2.X on
different OS. Patch attached
--
Ticket URL: <http://trac.wordpress.org/ticket/4597>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list