=== Track Debug === Contributors: bhumi239 Tags: debug, error log, wp_debug, admin panel Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.2 Stable tag: 1.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A lightweight WordPress plugin that adds a custom admin panel to display WP_DEBUG status and recent PHP error logs. == Description == **Track Debug** is a simple admin-only tool to help developers monitor WordPress debug settings and review the most recent PHP error logs — all from a neat, clean admin dashboard page. **Features:** - Custom admin dashboard menu: *Track Debug* - Shows current WP_DEBUG status - Displays the last 50 lines of `error_log` - Fully OOP, minimal code, no bloat - Safe for production (admin-only access) == Installation == 1. Upload the plugin folder to `/wp-content/plugins/track-debug`. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Navigate to **Dashboard > Track Debug** to view debug info. == Frequently Asked Questions == = Who can view the debug panel? = Only users with the `manage_options` capability (typically admins). = Where does it read the error log from? = It uses PHP’s `ini_get('error_log')` setting and reads from that file. = Is this plugin safe to use on live sites? = Yes. It shows data only to administrators and escapes output from error logs. == Screenshots == 1. Admin panel showing WP_DEBUG status and error logs == Changelog == = 1.2 = * Compatible with WordPress 6.8 * Added support for future WordPress debug constants * Improved error detection mechanism * Enhanced admin UI for better visibility of debug status * Minor code cleanup and optimization = 1.1 = * Bug Fix. = 1.0 = * Initial release with debug dashboard and error log display. == Upgrade Notice == = 1.1 = Bug fix release. == License == This plugin is licensed under the GPL v2 or later.