• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs WordPress Toolkit Maintenance Folder

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:
  • /wp-content/maintenance.php
  • /wp-content/maintenance/*
  • wp-content/maintenance/template.phtml
We're also receiving the following PHP error in our debug logs:

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 )
We believe since the maintenance folder appears to be produced by the WordPress Toolkit that maybe it is the cause of why maintenance.php and the folder itself is not automatically being removed after maintenance.​
STEPS TO REPRODUCE:
Have WordPress run through an automatic update.​
ACTUAL RESULT:
Files and Folder are left in the wp content folder after maintenance mode has ended:
  • /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
      • /fonts/
        • open-sans-300.woff
        • open-sans-300.woff2
        • open-sans-regular.woff
        • open-sans-regular.woff2
EXPECTED RESULT:
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
 
From developer:

Reported behavioir is expected.

  • /wp-content/maintenance.php
  • /wp-content/maintenance/*
began left after disabling Maintenance mode since WP Toolkit 2.1 when managing this mode was added to GUI. It was made to allow users to customize maintenance page template while website is not in maintenance.

The only file that creates and removes after it disabling is ../example.com/httpdocs/.maintenance
 
Thanks for the reply!

What about the error? We keep debug logs enabled throughout all our websites and this has recently started popping up through all our sites.
 
Back
Top