=== WP Supra - Maintenance & Support Utilities ===
Contributors: pr24ch
Requires at least: 6.2
Tested up to: 7.0
Stable tag: 108
Requires PHP: 8.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

WP Supra is a powerful WordPress management and maintenance tool providing centralized administration, advanced maintenance utilities and smart insights for professional workflows.

== Description ==

[WP Supra](https://wpsupra.com) is a modern WordPress management and maintenance tool designed for agencies, freelancers and advanced site owners.

The plugin serves two purposes:

1. Connector to the WP Supra Management Panel for centralized multi-site administration  
2. Standalone maintenance toolkit with powerful utilities and optimizations

With WP Supra, you can manage multiple WordPress installations efficiently and maintain individual sites with advanced control.

== WP Supra Management Platform ==

- Centralized inventory of connected websites
- Manage updates across multiple sites
- Monitoring integrations
- Cron job integrations
- Free for up to 20 websites
- Aforable price per additional site/month

== Get Started ==

Take your WordPress maintenance to the next level with WP Supra.

🔍 **Book an Audit or Consultation**
Get expert insights into your WordPress setup and identify optimization potential:
[https://wpsupra.com/get-started/](https://wpsupra.com/get-started/)

🧑‍💻 **Create a WP Supra Account**
Start managing multiple websites centrally:
[https://wpsupra.com/sign-up/](https://wpsupra.com/sign-up/)

==Standalone Maintenance Features==

🗒 **Admin Notes**
- Store important maintenance notes and instructions
- Example: "Do not install this plugin"
- Improve team collaboration and documentation

✅ **Best Practices**
- Built-in maintenance guidelines and recommendations
- Helps identify common configuration issues
- Encourages a consistent and professional maintenance workflow

✏️ **Text Overrides**
- Modify or replace text strings globally
- Not limited to translations
- No coding required

🔌 **Integrations**
- Matomo (self-hosted analytics)
- Pulsetic (uptime monitoring)
- Hexowatch (visual monitoring)
- Cron-Job.org (external cron job scheduling service)

🔄 **Update Management**
- Control automatic updates
- Disable WordPress core updates
- Disable individual plugin/theme updates
- Clear overview of update status

📧 **Email Enhancements**
- Change admin email without 2FA confirmation
- Forward selected support emails
- Disable password change notifications
- Pause outgoing emails

⚡ **Cache & Performance Overview**
- Quick cache insights for troubleshooting
- Identify unused performance optimization potential
- Detect areas where caching can be improved

🖼 **Media Management**
- Overview of registered thumbnail sizes
- Manage media trash

🗄 **Database Tools**
- Manage revisions
- Clean up transients
- Table overview with storage usage and entry counts
- Identify unused tables and optimization potential

🔍 **Advanced Database Analysis**
- Meta data analysis with index suggestions
- Autoload optimization recommendations
- Slow query detection

🚧 **Maintenance & Staging**
- Maintenance mode
- Staging actions

📊 **System Status**
- Maintenance-focused site health insights
- Simplified overview of critical system information
- Highlights relevant issues affecting maintenance and stability

🐞 **Logging & Debugging**
- Enable or disable WordPress debug mode
- Prevent excessive log file growth

If you are looking for regular WordPress maintenance, contact the team at [WP Supra](https://wpsupra.com), [WP Support](https://wp-support.ch) or [WP Support Schweiz](https://wp-support-schweiz.ch). If you are looking for individual support, please contact the team at [Support for WordPress and WooCommerce](https://supportwp.ch).

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/support-wp` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Use the Settings > WP Supra screen to configure the plugin

== Frequently Asked Questions ==

= Is the Matomo API used? =

Yes, this plugin uses the API of a self-hosted Matomo instance to display core metrics.

= Is the Cron-Job.org API used? =

Yes, the plugin connects to cron-job.org to display cron job information.

= Is the Pulsetic API used? =

Yes, the plugin uses the Pulsetic API to display monitoring data.

= Is the Hexowatch API used? =

Yes, the plugin uses the Hexowatch API to display monitoring data.

= Does the plugin send data to external sources? =

Yes, the plugin communicates with external APIs to retrieve monitoring and analytics data. No data is transmitted without configuration by the administrator.

== Screenshots ==
1. Plugin Settings, Tab Query Analytics

== Changelog ==
* Version 108
	* Fixed Matomo.js data logging issues
	* Enhanced batch cleanup for orphaned metadata with a progress bar
	* Fixed KPI display issues in the Cloudflare widget
	* Fixed Notice Hider to properly hide notices on WooCommerce pages
	* Improved tab section ordering for better usability
	* Added new translations and updated existing language files
* Version 107
	* Added Temporary Login: create a dedicated, temporary administrator account with its own auto-login link (3/5/7/14 days validity, extendable, revocable, cleaned up automatically after expiry)
	* Extended compact notes to additional areas and improved note display
	* Improved update-related entries with direct note display and slug on hover
	* Added API Analytics for tracking outgoing HTTP requests
	* Added API Analytics for tracking internal REST API requests, including WooCommerce's REST API
	* Added detection of users hidden from the WordPress admin user list
	* Added option to bulk delete cronjobs and database tables
	* Added option to view content of database tables
	* Added option to redirect attachment pages to their media files
	* Added option to hide admin notices by matching their text (contains, begins with, or equals), optionally restricted to a specific admin page, with an additional network-wide option for Multisite
	* Added option to disable author pages
	* Added "Resolve" and "Hide" buttons to every hint, right-aligned like the Notes & Hints list; Hide opens the Add note modal with the matching suppress option pre-selected so any hint can now be muted
	* Added tweak relevant search
	* Added clean orphan data from database
	* Added configurable Action Scheduler queue tuning (batch size, concurrent batches, time limit)
	* Added a hint warning when the server lacks the PHP extensions needed for UpdraftPlus remote (S)FTP backups
	* Added a debug.log analysis table that groups errors by type, file and message, with search, filter and sorting
	* Added detection of edge/HTTP caches (Cloudflare, Kinsta, LiteSpeed Cache, SiteGround, Varnish, WP Engine, and a generic reverse-proxy fallback)
	* Added CPU (model, core count, load average) and disk space information to the Info tab
	* Added an automatic plugin file integrity check every 6 hours, with an optional email notification when a plugin is deactivated as a result
	* Added an option to reassign a Temporary Login account's content to its creator or another admin during cleanup
	* Added Cloudflare integration: link a zone via API token, view traffic/threat analytics, and auto-calibrate the attack-detection threshold
	* Added support for a comma-separated list of allowed IP addresses in Maintenance mode
	* Added a "Plugins with unknown update status" overview flagging plugins that use their own update mechanism instead of WordPress.org
	* Added detection of WordPress.com and Pressable hosting
	* Added plugin snapshot: remembers the active/inactive state of all plugins so the plugins overview can flag anything that changed since it was taken
	* Added option to disable all plugin updates or all theme updates at once
	* Added option to reinstall a plugin: re-downloads the currently installed version from WordPress.org and overwrites its files (e.g. to fix missing or corrupted files)
	* Reorganized the Cache overview into PHP-, shared-, WordPress-, HTTP- and plugin-level sections, with options to flush the object cache and reset OPcache
	* Reorganized the settings menu: Maintenance Mode, Rewrite Rules Repair and Staging Detection moved from Tweaks into their own dedicated sections; added explanatory info texts to several settings tabs
	* Fixed a conflict when the Matomo tracking code was integrated multiple times
* Version 106
	* Display notes on the dashboard in a more compact, single-line format with hover icons for details
* Version 105
	* Improved user experience by replacing full page reloads with inline AJAX modals for all settings dialogs and confirmation actions
	* Added a new storage usage diagnostic
	* Reorganized menu items and introduced dropdown navigation
	* Fixed two potential SQL injection vulnerabilities.
	* Added developer notes regarding a low-risk IP spoofing scenario
	* Introduced the Major Plugins feature
	* Added new hints in the "Notes & Hints" section for major plugins, disabled plugin updates, and disabled theme updates.
	* Added new api endpoints
* Version 104
	* Monitoring system rewritten to centralize all connections through the WordPress plugin, preventing multiple instances and improving stability.
* Version 103
	* update endpoints and remove unused code
* Version 102
	* More robust connection handling for the WP Supra Panel, improving overall stability and reliability.
	* Enhanced error handling and automatic reconnection mechanisms to better recover from temporary connection issues.
* Version 101
	* Added a notice when WP Defender Audit Log is disabled.
* Version 100
	* Fixed incorrect WooCommerce memory limit recommendations being displayed
	* Added support for Multisite notes and hint suppression
* Version 99
	* Fixed WPMU DEV Hub SSO status detection for installations storing the setting as a boolean instead of an integer.
	* Added a notice when WP Defender Login Protection is disabled.
	* Added a notice when WP Defender 404 Lockout is disabled.
* Version 1-98
	* Corrections and Enhancements

== Upgrade Notice ==

1. Upload the plugin files to the `/wp-content/plugins/support-wp` directory, or install the latest release of the plugin through the WordPress plugins screen directly.