Seravo / seravo-plugin

Enhances WordPress with Seravo specific features and integrations
https://seravo.com/
GNU General Public License v2.0
37 stars 16 forks source link

Provide a new reports page that focuses on WordPress health checks #66

Open ottok opened 7 years ago

ottok commented 7 years ago

Many of the eheystarkistus items could be automated and listed as a checklist with pass/fail status on a separate "site health" page. This would allow new customers to know if everything with their WordPress site is OK or not, in particular right after migrating an existing site from another server to our system.

ottok commented 7 years ago

We could perhaps extend wp doctor to include Seravo specific checks:

$ wp doctor check --all
Running checks  100% [==========================] 0:07 / 0:11
+----------------------------+---------+----------------------------------------------------------------------+
| name                       | status  | message                                                              |
+----------------------------+---------+----------------------------------------------------------------------+
| core-verify-checksums      | success | WordPress verifies against its checksums.                            |
| file-eval                  | success | All 'php' files passed check for 'eval\(.*base64_decode\(.*'.        |
| autoload-options-size      | success | Autoloaded options size (70.24kb) is less than threshold (900kb).    |
| constant-savequeries-falsy | success | Constant 'SAVEQUERIES' is undefined.                                 |
| constant-wp-debug-falsy    | success | Constant 'WP_DEBUG' is defined falsy.                                |
| core-update                | error   | Updating to WordPress' newest minor version is strongly recommended. |
| cron-count                 | success | Total number of cron jobs is within normal operating expectations.   |
| cron-duplicates            | success | All cron job counts are within normal operating expectations.        |
| option-blog-public         | success | Site is public as expected.                                          |
| plugin-active-count        | success | Number of active plugins (4) is less than threshold (80).            |
| plugin-deactivated         | success | Less than 40 percent of plugins are deactivated.                     |
| plugin-update              | warning | 3 plugins have updates available.                                    |
| theme-update               | success | Themes are up to date.                                               |
| php-in-upload              | success | No PHP files found in the Uploads folder.                            |
| language-update            | warning | 1 language has an update available.                                  |
+----------------------------+---------+----------------------------------------------------------------------+
ottok commented 6 years ago

On this page, or on a separate database page, we could list the size of the databases and notify something of excess was found, e.g. _transient in database, or duplicate tables (e.g. wp_user and xyz_users).

ottok commented 6 years ago

Warn if siteurl and home are not https..

If could also warn of deprecated features and plugins, like https-domain-alias or wp-palvelu-plugin (now everybody should be running seravo-plugin).

ottok commented 6 years ago

Also, check WP installation folder structure and warn if there are e.g. two wp-content folders (and the one is not a symlink to the other).

elguitar commented 3 years ago

So to sum up: Implement a postbox, which has the following information:

This feature can be too large to be implemented with one go. Therefore we should implement a subset of features first and then add more in the future.

Moppa5 commented 3 years ago

To add some overview about the progress, this far 98fdc4f introduces checks for

What could be implemented next include