[wp-trac] [WordPress Trac] #50085: Use `__DIR__` magic constant instead of `dirname(__FILE__)`
WordPress Trac
noreply at wordpress.org
Tue May 5 10:45:06 UTC 2020
#50085: Use `__DIR__` magic constant instead of `dirname(__FILE__)`
-----------------------------+------------------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch close | Focuses: performance
-----------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch => has-patch close
Comment:
Thanks for the patch!
`class-requests.php` is a part of the [https://github.com/rmccue/Requests
Requests] external library, any changes should be submitted upstream.
The change in `wp-tests-config-sample.php` was previously reverted in
[47201] to avoid breaking unit tests created with WP-CLI `scaffold`
command, see comment:15:ticket:48082 and #49377 for details.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50085#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list