[wp-trac] [WordPress Trac] #50114: wp-config-sample.php missing () in last line of code

WordPress Trac noreply at wordpress.org
Thu May 7 13:40:46 UTC 2020


#50114: wp-config-sample.php missing () in last line of code
--------------------------+----------------------
 Reporter:  jajosolo@…    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi there, welcome to WordPress Trac! Thanks for the report.

 The parentheses were intentionally removed in [47198/trunk/wp-config-
 sample.php].

 `require` and `include` are language constructs, not function calls, so
 the parentheses are unnecessary.

 See also [47207] for more details.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50114#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list