#11834 closed enhancement (fixed)
Use require() in wp-settings.php
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Currently, require() and require_once() are used seemingly at random throughout wp-settings.php
We should default to require(), for uniformity, and also because it's faster.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
The time difference between require_once() and require() is very small, you'd only see a significant difference if there were hundreds of require_once calls.
However, I'd agree that it does seem to be used at random throughout wp-settings. It looks like everything uses require() except the new multisite code & locale stuff.