Changes between Initial Version and Version 1 of Ticket #56975, comment 80
- Timestamp:
- 01/22/2023 12:24:16 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #56975, comment 80
initial v1 1 1 > A static variable doesn't persist between runs. You don't need an extra parameter to clear it. 2 2 3 What if the variable is initialized before a "change of theme" such as the `switch_theme` or `start_previewing_theme` hook? An easy way to see how it fails is by removing my last commit or removingand observing the dozens of PHP unit tests failures.3 What if the variable is initialized before a "change of theme" such as the `switch_theme` or `start_previewing_theme` hook? An easy way to see how it fails is by removing the last commit or the parameter in the PR and observing the dozens of PHP unit tests failures.