Help Tracking Down Maintenance Code
-
Within the last couple version of WordPress, on all my WordPress installs ( more than 50 ) WordPress is leaving behind all the maintenance residuals:
– wp-content/maintenance.php
– wp-content/maintenance/template.phtml
– wp-content/maintenance/assets/*And I receive the following error in my debug logs:
PHP Notice: Undefined variable: timer in /wp-content/maintenance/template.phtml on line 22
So now my question is: Where is template.phtml being created / used so I can trackdown where the $timer variable is being set and maybe what could be causing this issue. Any other suggestions on the best way to replicate the issue would be awesome too. Can someone explain which files to look at in how WordPress creates/removed these maintenance files please?
- The topic ‘Help Tracking Down Maintenance Code’ is closed to new replies.