=== atec Hosting Check ===
Contributors: DocJoJo
Tags: hosting, performance, health check, server, grade
Requires CP: 1.7
Tested up to: 7.0
Requires at least: 5.9
Requires PHP: 7.4
Tested up to PHP: 8.4.12
Stable tag: 1.0.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Grade your WordPress hosting setup in seconds — CPU, RAM, disk, PHP, database, caching and WP settings. Zero configuration.

== Description ==

**atec Hosting Check** gives your WordPress install a simple letter grade (A–F) based on what your host actually provides — no guesswork, no setup wizards.

**What it checks**

* **Server** — CPU cores, system RAM, free disk space
* **Versions** — WordPress (live from wordpress.org), PHP, MySQL/MariaDB
* **Caching** — OPcache (memory, strings, max files), object cache drop-in, page cache drop-in
* **WP settings** — WP_MEMORY_LIMIT, PHP memory limit, peak memory usage, WP_DEBUG, WP_DEBUG_DISPLAY

Each row shows the current value, recommended target, colored grade, and — when something needs attention — a short fix note in the recommendations box.

**Designed to stay simple**

* No Redis ports, unix sockets, or host configuration
* Read-only — never changes wp-config.php or php.ini
* Grades only active cache drop-ins — not bare PHP extensions

Grading logic is adapted from the health check in [atec System Info](https://wordpress.org/plugins/atec-system-info/). Recommended version numbers and thresholds live in one file (`includes/atec-wphc-benchmarks.php`) for easy updates.

== Installation ==

1. Upload the plugin to `/wp-content/plugins/` or install via the WP admin panel.
2. Activate **atec Hosting Check** from the Plugins menu.
3. Open it from the **atec-systems** admin menu → **Grade** tab.

== Third-Party Services ==

=== Integrity check ===

Once, when activating the plugin, an integrity check is requested from our server – if you give your permission.
Source: https://atecplugins.com/
Privacy policy: https://atecplugins.com/privacy-policy/

=== IP Info ===

To resolve your external geolocation, this plugin calls the IPinfo API at https://ipinfo.io/.
Source: https://ipinfo.io/
Privacy policy: https://ipinfo.io/privacy-policy

== Frequently Asked Questions ==

= Does this plugin change server settings? =

No. It is read-only.

= Does it test Redis/Memcached connections? =

No. It checks whether object-cache and page-cache drop-ins are active. Loaded PHP extensions alone are not graded.

= Can I change the recommended PHP or MySQL versions? =

Yes. Edit the constants at the top of `includes/atec-wphc-benchmarks.php` in the plugin folder.

= Can I use this on shared hosting? =

Yes. It reports whatever metrics are available in your environment.

== Screenshots ==

1. Grade dashboard with overall score, section grades, and recommendations

== Changelog ==

= 1.0.7 [2026.06.14] =
* Readme updated, \'WP_DEBUG\' fixed

= 1.0.6 [2026.06.02] =
* RAM detection

= 1.0.5 [2026.05.31] =
* New grading

= 1.0.4 [2026.05.31] =
* No activation script

= 1.0.3 [2026.05.31] =
* Screenshot removed

= 1.0.2 =

* Softer memory and MySQL benchmarks (WP memory ideal 128 MB, OK 64 MB)
* OPcache detail checks: memory, interned strings, max files — size and usage %
* Page cache check via WP_CACHE + advanced-cache.php drop-in
* Removed Redis/Memcached extension grading — only active drop-ins count

= 1.0.1 =

* Graded dashboard: overall score plus Server, Versions, Caching, WP settings
* Compact two-pane layout with colored grade badges and section headers
* Recommendations box for actionable fix notes
* Separate WP_DEBUG and WP_DEBUG_DISPLAY checks
* Details tab (extended server/database info via framework wrapper)
* Central benchmarks file for version targets and thresholds
* Zero configuration — no Redis/Memcached host setup required

= 1.0.0 =

* Initial release
