#50114 closed defect (bug) (invalid)
wp-config-sample.php missing () in last line of code
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
In wordpress version 5.4.1, in the wp-config-sample.php file:
Last 2 lines are:
/ Sets up WordPress vars and included files. */
require_once ABSPATH . 'wp-settings.php';
it SHOULD be:
/ Sets up WordPress vars and included files. */
require_once(ABSPATH . 'wp-settings.php');
the difference is the () in the last line.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac! Thanks for the report.
The parentheses were intentionally removed in [47198/trunk/wp-config-sample.php].
require
andinclude
are language constructs, not function calls, so the parentheses are unnecessary.See also [47207] for more details.