=== Login Activity Tracker === Contributors: debjit98 Tags: tracking, user login, login tracker, user login history Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.2 Stable tag: 1.6 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tracks user login attempts and displays login logs with styled pagination for admins and users. == Description == **Login Activity Tracker** records every user login attempt—both successful and failed. It provides an admin panel for viewing all login logs and a user panel for individual login history. The plugin includes color-coded statuses and styled pagination for a better user experience. **Features:** - Logs all login attempts (success & failure) - Shows login date - Admin can view all user login activities - Users can view their own login history - Super admin login status highlighted - Color-coded login statuses (success/failure) - Clean UI with pagination - Lightweight and secure == Installation == 1. Upload the plugin to the `/wp-content/plugins/login-activity-tracker` directory or install via the WordPress Plugins screen. 2. Activate the plugin through the 'Plugins' screen. 3. A database table is automatically created on activation. 4. Admins will see a menu titled **"Login Tracker"** to view all login activities. 5. Regular users will see a **"My Login History"** menu to view their own login logs. == Frequently Asked Questions == = Who can view the login activity? = Admins (including super admins) can see all login logs. Other users can only view their own login history. = Does it log failed login attempts? = Yes, both successful and failed login attempts are recorded. = Is this plugin compatible with latest WordPress versions? = Yes. It is tested up to version 6.8. == Screenshots == 1. Admin view of all login activity. 2. Logged-in user view of their personal login history. == Changelog == = 1.2 = * Added localization support. * Escaped all output properly to meet WordPress.org guidelines. * Improved pagination styling and login status color coding. * Highlighted super admin logins. = 1.1 = * Fixed IP address sanitization issue. * Updated database schema for better performance. = 1.0 = * Initial release. == Upgrade Notice == = 1.2 = Update for improved security and escaping compliance. == License == This plugin is licensed under the GPLv2 or later.