Alex Miller
New Pleskian
TITLE:
WordPress Toolkit Maintenance Folder
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk 17.5.3x on CentOS 7.3, WordPress 4.8.2
PROBLEM DESCRIPTION:In the past couple of minor WordPress updates the following files are not cleaned up:
We have the WordPress Toolkit installed but we do not use it for updates or, really at all, it's just there if we ever need it. The following plugins are installed on said system ( though it's happening on many systems throughout ):
STEPS TO REPRODUCE:- /wp-content/maintenance.php
- /wp-content/maintenance/*
- wp-content/maintenance/template.phtml
Code:
PHP Notice: Undefined variable: timer in /wp-content/maintenance/template.phtml on line 22
We have the WordPress Toolkit installed but we do not use it for updates or, really at all, it's just there if we ever need it. The following plugins are installed on said system ( though it's happening on many systems throughout ):
- All In One WP Security
- Contact Form 7
- Really Simple CAPTCHA
- Custom General Plugin ( Created by my company )
Have WordPress run through an automatic update.
ACTUAL RESULT:Files and Folder are left in the wp content folder after maintenance mode has ended:
EXPECTED RESULT:- /wp-content/maintenance.php
- /wp-content/maintenance/
- template.phtml
- /assets/
- styles.css
- timer.js
- /images/
- bg.jpg
- facebook.svg
- instagram.svg
- plesk-logo.png
- twitter.svg
- bg.jpg
- /fonts/
- open-sans-300.woff
- open-sans-300.woff2
- open-sans-regular.woff
- open-sans-regular.woff2
- open-sans-300.woff
- styles.css
Any maintenance files / folder being removed after WordPress has exited maintenance mode.
ANY ADDITIONAL INFORMATION:This appears to only happen during an automatic update which we have enabled in WordPress ( not Plesk ).
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug