[wp-trac] [WordPress Trac] #64538: memoize wp_normalize_path
WordPress Trac
noreply at wordpress.org
Fri Mar 27 14:30:55 UTC 2026
#64538: memoize wp_normalize_path
--------------------------------------+--------------------------
Reporter: josephscott | Owner: dmsnell
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 7.0
Component: General | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Changes (by desrosj):
* keywords: has-patch has-unit-tests commit => has-patch has-unit-tests
* status: closed => reopened
* resolution: fixed =>
Comment:
I noticed that there is one hosting provider who is participating in the
distributed host testing program who [https://make.wordpress.org/hosting
/test-results/r62158/rocketdotnetbot-r62158-8-1-mysql-
ver-15-1-distrib-10-11-13-mariadb-for-linux-x86_64-using-editline-wrapper/
is experiencing a failure] in `test_wp_normalize_path_static_cache()`:
{{{
Tests_Functions::test_wp_normalize_path_static_cache
Cache should contain the normalized path.
Failed asserting that an array has the key '/var/www/cache-testsubdir'.
/home/hvofhsd/public_html/tmp/wp-test-
runner/tests/phpunit/tests/functions.php:281
}}}
It's a bit strange because it passes on PHP 7.4, 8.0, 8.3, and 8.4 but not
8.1 and 8.2.
I have not looked into this deeply, but wanted it to be flagged for
investigation before 7.0.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64538#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list