[wp-trac] [WordPress Trac] #35066: Rename `.maintenance` for compatibility
WordPress Trac
noreply at wordpress.org
Thu Dec 24 16:02:14 UTC 2015
#35066: Rename `.maintenance` for compatibility
-------------------------------------+------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.5
Component: Upgrade/Install | Version:
Severity: normal | Resolution:
Keywords: needs-patch 2nd-opinion | Focuses:
-------------------------------------+------------------
Comment (by chacha102):
Because of how often the check is ran, and because the file system doesn't
cache false responses to file_exists, I definitely agree we should move to
get rid of the backwards compatibility as soon as possible. Fortunately,
for the majority of requests I only had to add one file_exists check.
I played around with a structure to store which of the file_exists checks
came out true so that including the file didn't require an additional
(albeit duplicate) check, but I felt that would ad to much overhead to the
first set of checks that are much more commonly ran.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35066#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list