{
    "name": "R2 Inactive Users",
    "slug": "r2-inactive-users",
    "version": "1.1.0",
    "requires": "6.0",
    "tested": "6.7",
    "requires_php": "8.0",
    "author": "<a href='https://rise2.studio'>RISE2 Studio</a>",
    "author_profile": "https://rise2.studio",
    "homepage": "https://rise2.studio",
    "last_updated": "2026-04-13",
    "download_url": "https://plugins.rise2.studio/r2-inactive-users/r2-inactive-users-1.1.0.zip",
    "sections": {
        "description": "<p>Automatically delete inactive WordPress users by role after a configurable period of inactivity. Tracks last login, sends warning emails, supports dry-run mode, and reassigns content on deletion. Administrators are never deleted.</p><h4>Features</h4><ul><li>Tracks each user's last login via the <code>wp_login</code> hook</li><li>Daily WP-Cron cleanup deletes users inactive beyond the configured threshold</li><li>Configurable inactive period (default 180 days)</li><li>Monitor only specific roles (editor, author, subscriber, etc.)</li><li>Administrators are hard-coded excluded — never deletable</li><li>Warning email sent N days before deletion (configurable)</li><li>Dry-run mode (enabled by default) — safe first run</li><li>Excluded user ID list</li><li>Reassign deleted user's content to an admin, or delete it</li><li>Skip users with published posts</li><li>Preview tab shows who would be deleted right now</li><li>Deletion log with rolling history</li><li>Manual \"Run cleanup now\" button for on-demand runs</li></ul>",
        "changelog": "<h4>1.1.0</h4><ul><li>Added: Layer 2 — Maximum Account Age (unconditional deletion based on registration date, default 5 years)</li><li>Added: Reason column in Preview and Log tabs (Inactivity vs Max Age)</li><li>Added: Separate warning email templates per layer</li><li>Changed: Default inactive days from 180 to 365</li><li>Changed: Dual-layer cleanup engine with deduplication</li></ul><h4>1.0.2</h4><ul><li>Added: test mode (minutes) — override days threshold for quick testing</li><li>Added: TEST MODE ACTIVE warning in settings</li></ul><h4>1.0.1</h4><ul><li>Fixed: activation backfill now uses direct DB query for reliability</li><li>Fixed: cleanup query now also finds users without last-login meta</li><li>Fixed: monitored_roles save handles both array and string formats</li><li>Added: preview shows debug info when empty</li></ul><h4>1.0.0</h4><ul><li>Initial release</li></ul>"
    }
}
