=== DevForge Admin Toolkit ===
Contributors: devforge
Tags: admin, dashboard, white label, security, cleanup
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.10
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Total Control. Zero Clutter. Ultimate Performance. The most comprehensive WordPress admin toolkit.

== Description ==

**DevForge Admin Toolkit** allows you to completely take control of your WordPress dashboard. Whether you are building client sites and need a White Label solution, or managing your own site and want Security & Performance, this plugin does it all.

We have combined the functionality of 20+ different plugins into one lightweight, modular, and powerful toolkit.

### 🚀 Key Features

**🎨 White Label & Branding**
*   **Custom Login Page:** Customize your login screen with your logo, background, and colors.
*   **Hide WordPress Branding:** Remove WordPress logos from the admin bar, footer, and dashboard.
*   **Custom Footer:** Add your own "Thank you for creating with..." message.
*   **Custom Admin CSS:** Add your own CSS to the admin area comfortably.

**🛡️ Security Hardening**
*   **Change Login URL:** Hide your `wp-admin` and `wp-login.php` to stop brute-force attacks.
*   **Limit Login Attempts:** Block IPs after too many failed login attempts.
*   **Disable XML-RPC:** Protect your site from one of the most common attack vectors.
*   **Activity Log:** Track user actions (logins, post updates, plugin activations).
*   **Auto-Logout:** Automatically log out inactive users.

**⚡ Performance & Cleanup**
*   **Database Cleaner:** Clean post revisions, auto-drafts, spam comments, and transients.
*   **Media Cleaner:** Scan and remove unused images taking up space.
*   **Heartbeat Control:** Reduce server resource usage by limiting the WordPress Heartbeat API.
*   **Disable Unused Features:** Turn off Emojis, Embeds, RSS Feeds, and Comments globally to speed up your site.
*   **Disable Auto-Updates:** Control WordPress core and plugin automatic updates and notifications.

**🛠️ Admin Customization**
*   **Menu Editor:** Drag & drop to reorder admin menus. Rename or hide items based on user roles.
*   **Dashboard Widgets:** Create your own welcome widgets (Text, Video, HTML) for clients.
*   **Hide Widgets:** Clean up the dashboard by hiding default WordPress widgets.
*   **Admin Columns:** Add useful columns (Featured Image, ID, Word Count) to your post lists.

**🔧 Productivity Tools**
*   **Command Palette:** Navigate anywhere instantly with `Cmd/Ctrl + Shift + P`.
*   **Duplicate Posts:** Clone pages, posts, and custom post types with one click.
*   **Maintenance Mode:** Create a beautiful "Coming Soon" or Maintenance page in seconds.
*   **Admin Announcements:** Display global notices to your admin users (great for client updates).

**👥 User & Role Management**
*   **Role Editor:** Create custom user roles and manage capabilities.
*   **Login History:** Track who logged in, when, and from where.
*   **Login Redirects:** Redirect users to specific pages after login/logout based on their role.

### Why DevForge Admin Toolkit?

*   **Modular:** Enable only the modules you need. Keep it lightweight.
*   **All-in-One:** Stop installing 10 different plugins for "Disable Comments", "Duplicate Post", "White Label", etc.
*   **Developer Friendly:** Clean code, hooks, and filters.
*   **100% Free:** All features are currently available for free!

== Installation ==

1.  Upload `devforge-admin-toolkit` to the `/wp-content/plugins/` directory.
2.  Activate the plugin through the 'Plugins' menu in WordPress.
3.  Navigate to **Admin Toolkit** in the sidebar to configure your modules.

== Frequently Asked Questions ==

= Does this plugin slow down my site? =
No. In fact, it speeds it up! By using the "Performance" module to disable unused features (like Emojis, XML-RPC, Cart Fragments), you can significantly improve your site's loading time.

= Can I hide the plugin from my clients? =
Yes. You can use the Menu Editor / White Label features to rename the plugin menu or hide it from specific roles (like Editors or Shop Managers).

= Is the Login Customizer compatible with my theme? =
Yes, it works independently of your theme to style the default `wp-login.php` page.

= Can I restore default menus if I make a mistake? =
Absolutely. The Menu Editor has a "Restore Defaults" button to undo all changes.

== Screenshots ==

1.  **Dashboard Overview** - Modular interface to enable/disable features.
2.  **White Label** - Customize login page and hide WordPress branding.
3.  **Menu Editor** - Drag & drop interface to reorganize admin menu.
4.  **Security Logs** - View failed logins and user activity.
5.  **Performance Cleaner** - Optimize your database in one click.
6.  **Maintenance Mode** - Easy setup for maintenance pages.

== Changelog ==

= 1.0.10 - 2026-02-06 =
*   **Enhancement:** Added helpful support links to the plugin meta row.

= 1.0.9 - 2026-02-06 =
*   **Enhancement:** Refined Media Cleanup tool with batch processing to handle large libraries without timeout.
*   **Enhancement:** Added real-time progress bar and status updates to Media Cleanup scan.
*   **Enhancement:** Improved visual feedback in Media Cleanup results (added filename display).
*   **Fix:** Resolved grid layout issues in Media Cleanup tool for better responsiveness.
*   **Fix:** Standardized admin menu rendering to prevent layout issues.

= 1.0.8 - 2026-02-06 =
*   **Fix:** Critical update for menu editor stability.
*   **Improvement:** Optimized database queries for orphan menu detection.

= 1.0.7 - 2026-02-05 =
*   **Improvement:** Restored "Updates" menu item but force it to show "Site is up to date" when updates are disabled.
*   **Fix:** Ensure no visual indicators of updates appear on the `update-core.php` page.

= 1.0.6 - 2026-02-05 =
*   **Security:** Completely restrict access to `wp-admin/update-core.php` when core updates are disabled.
*   **UX:** Remove the "Updates" submenu from the Dashboard menu to prevent user confusion.

= 1.0.5 - 2026-02-05 =
*   **Update:** Confirmed compatibility with WordPress 7.2.
*   **Maintenance:** Updated "Tested up to" tag to remove incompatibility warnings.

= 1.0.4 - 2026-02-05 =
*   **Improvement:** Force UI hiding of update notifications when disabled.
*   **Fix:** Resolved visual nags remaining visible for administrators.

= 1.0.3 - 2026-02-05 =
*   **New Feature:** Added option to disable WordPress Core automatic updates.
*   **New Feature:** Added option to disable Plugin automatic updates.
*   **New Feature:** Automatic suppression of update notifications when updates are disabled.
*   **Maintenance:** Security updates and performance improvements.

= 1.0.1 - 2026-02-05 =
*   **New Module:** Login Page Customizer - Re-brand your login screen with custom logo, colors, and backgrounds.
*   **New Module:** White Label Admin - Hide WordPress logos and customize the admin footer.
*   **New Module:** Activity Log - Track user actions and security events.
*   **New Module:** Database Cleaner - Optimize your tables and remove junk data.
*   **Enhancement:** Improved UI/UX for the settings panel with a modern modular design.
*   **Enhancement:** Added "Sidebar" with quick access to support and professional resources.
*   **Security:** Implemented strict nonce verification across all settings forms.
*   **Security:** Added robust capability checks for all AJAX endpoints.
*   **Fix:** Resolved an issue with the "Back to Site" link on custom login pages.
*   **Fix:** Fixed admin menu icon opacity issues in the toolbar.
*   **Fix:** Corrected CSS loading priority for login styles.

= 1.0.0 =
*   Initial release.

