[wp-trac] [WordPress Trac] #48082: Replace `dirname(__FILE__)` with `__DIR__` (Performance improvement, massive patch)
WordPress Trac
noreply at wordpress.org
Wed Jan 22 22:58:27 UTC 2020
#48082: Replace `dirname(__FILE__)` with `__DIR__` (Performance improvement,
massive patch)
-------------------------+--------------------------------------------
Reporter: ayeshrajans | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.4
Component: General | Version:
Severity: minor | Resolution:
Keywords: has-patch | Focuses: performance, coding-standards
-------------------------+--------------------------------------------
Changes (by valentinbora):
* Attachment "valentinbora-48082-phpcs.diff" added.
A more complete diff onto [47105] having applied @jrf's, @joostdevalk's,
@netweb's suggestions, based upon @desrosj's patch
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48082>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list