[wp-trac] [WordPress Trac] #58332: Replace require with require_once in wp-settings.php

WordPress Trac noreply at wordpress.org
Tue May 16 22:39:08 UTC 2023


#58332: Replace require with require_once in wp-settings.php
----------------------------+------------------------------
 Reporter:  beardcat        |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bootstrap/Load  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------------

Comment (by SergeyBiryukov):

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

 Just noting that this was previously discussed in #19921 and #20298.

 This comment specifically explains why this has not been implemented:
 comment:4:ticket:20298.

 On a related note, making it possible for plugins to override core files
 was also a concern when discussing an autoloader implementation, for
 example in comment:117:ticket:36335.

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


More information about the wp-trac mailing list