[wp-trac] [WordPress Trac] #50085: Use `__DIR__` magic constant instead of `dirname(__FILE__)`

WordPress Trac noreply at wordpress.org
Tue Jun 9 13:12:06 UTC 2020


#50085: Use `__DIR__` magic constant instead of `dirname(__FILE__)`
-------------------------+--------------------------
 Reporter:  ayeshrajans  |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  maybelater
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------
Changes (by desrosj):

 * keywords:  has-patch close => has-patch
 * status:  new => closed
 * version:  trunk =>
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 Going to close this one out in favor of submitting the changes upstream to
 the Requests library.

 If in the future updating `wp-tests-config-sample.php` becomes possible
 without the backwards compatibility problems, this can be reopened or a
 new ticket can be created.

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


More information about the wp-trac mailing list