[wp-trac] [WordPress Trac] #43674: require() vs require_once()
WordPress Trac
noreply at wordpress.org
Sat Jun 19 23:14:55 UTC 2021
#43674: require() vs require_once()
-----------------------------------+------------------------
Reporter: luftaffen | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Bootstrap/Load | Version:
Severity: normal | Resolution: duplicate
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: new => closed
* resolution: => duplicate
* milestone: Awaiting Review =>
Comment:
It looks like the issue was resolved in [42988] / #43609.
Using `require()` should be fine in most cases. Switching to
`require_once()` was previously discussed in #20298, let's continue the
discussion there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43674#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list