Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59847, comment 20


Ignore:
Timestamp:
11/08/2023 11:13:47 PM (15 months ago)
Author:
joemcgill
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59847, comment 20

    initial v1  
    1 I doubt that conditional is part of the problem. That early return was added 12 years ago in [20015] and the conditional hasn't changed in 6 years [41174]. It's probably coincidental that commenting out that line fixes the issue.
    2 
    3 I've put together a [https://github.com/WordPress/wordpress-develop/pull/5642 proof of concept PR] that seems to fix the original issue, by making sure that those functions only memoize the paths when called after plugins have loaded.
    4 
    5 
    6 @kdowns I'm curious if this approach would address your issue as well?