[wp-trac] [WordPress Trac] #48082: Replace `dirname(__FILE__)` with `__DIR__` (Performance improvement, massive patch)
WordPress Trac
noreply at wordpress.org
Thu Feb 6 21:27:08 UTC 2020
#48082: Replace `dirname(__FILE__)` with `__DIR__` (Performance improvement,
massive patch)
------------------------------+--------------------------------------------
Reporter: ayeshrajans | Owner: SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.4
Component: General | Version:
Severity: minor | Resolution:
Keywords: has-patch needs- | Focuses: performance, coding-standards
testing |
------------------------------+--------------------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:15 danielbachhuber]:
> For the purposes of not causing these explosions, could we revert back
to `dirname( __FILE__ )` in `wp-tests-config-sample.php`?
Thanks for catching that! The same issue was also reported by @kaggdesign
a couple hours ago.
Yes, reverting the change in `wp-tests-config-sample.php` for now makes
sense.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48082#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list