文件操作 - troubleshoot.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/avantibackupsite/public_html/wp-content/plugins/health-check/pages/troubleshoot.php
编辑文件内容
<?php /** * The Troubleshooting tab contents. * * @package Health Check */ // Make sure the file is not directly accessible. if ( ! defined( 'ABSPATH' ) ) { die( 'We\'re sorry, but you can not directly access this file.' ); } ?> <div class="health-check-body"> <p class="notice notice-warning notice-inline"> <?php esc_html_e( 'The Troubleshooting Mode from the Health Check plugin will be available as a standalone plugin in the future, since the primary Health Check features have been available in WordPress since version 5.2.', 'health-check' ); ?> </p> <h2> <?php esc_html_e( 'Troubleshooting mode', 'health-check' ); ?> </h2> <p> <?php esc_html_e( 'When troubleshooting issues on your site, you are likely to be told to disable all plugins and switch to the default theme.', 'health-check' ); ?> <?php esc_html_e( 'Understandably, you do not wish to do so as it may affect your site visitors, leaving them with lost functionality.', 'health-check' ); ?> </p> <p> <?php esc_html_e( 'By enabling the Troubleshooting Mode, all plugins will appear inactive and your site will switch to the default theme only for you. All other users will see your site as usual.', 'health-check' ); ?> </p> <p> <?php esc_html_e( 'A Troubleshooting Mode menu is added to your admin bar, which will allow you to enable plugins individually, switch back to your current theme, and disable Troubleshooting Mode.', 'health-check' ); ?> </p> <p> <?php esc_html_e( 'Please note, that due to how Must Use plugins work, any such plugin will not be disabled for the troubleshooting session.', 'health-check' ); ?> </p> <?php Health_Check_Troubleshoot::show_enable_troubleshoot_form(); ?> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件