[wp-trac] [WordPress Trac] #33034: Refactor SCRIPT_FILENAME ending with php.cgi check in load.php

WordPress Trac noreply at wordpress.org
Tue Sep 17 18:10:58 UTC 2024


#33034: Refactor SCRIPT_FILENAME ending with php.cgi check in load.php
----------------------------+------------------------
 Reporter:  wildpeat        |       Owner:  (none)
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Bootstrap/Load  |     Version:
 Severity:  normal          |  Resolution:  duplicate
 Keywords:                  |     Focuses:
----------------------------+------------------------
Changes (by jorbin):

 * status:  new => closed
 * version:  4.3 =>
 * resolution:   => duplicate


Comment:

 In [56245] this was updated to use `str_ends_with` which accomplishes the
 goal of making this more readable, ergo I am closing this as a duplicate
 of #58206 which is what that was committed under. Thank you for your
 attempt to improve WordPress @wildpeat!

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


More information about the wp-trac mailing list