Overview
The Task Manager is a lightweight, file-based project task management system with zero frontend impact. It organizes all data in JSON files within the wp-content/functionalities/tasks/ directory.
Architecture
wp-content/
└── functionalities/
└── tasks/
├── index.php # Security file
├── .htaccess # Apache protection
├── project-one.json # Project data
└── project-two.json # Project data
Features
Project Management
- Create — Add a new project with unique slug
- Delete — Remove project and all its tasks
- Import — Load project from JSON file
- Export — Download project as JSON file
Smart Syntax
The Task Manager automatically parses text for organization:
- Hashtags —
Fix bug #backend #urgent→ Creates clickable tags - Priority !1 —
!1 Critical security fix→ High priority (red) - Priority !2 —
!2 Update documentation→ Medium priority (yellow) - Priority !3 —
!3 Minor style tweaks→ Low priority (blue)
Dashboard Widget
Pin projects to the WordPress Dashboard as widgets showing progress bars, pending tasks, and priority indicators.
Security
- Capability Check — Requires
manage_optionscapability - Nonce Verification — All AJAX requests validated
- Path Traversal Prevention —
realpath()ensures files stay in tasks directory - Direct Access Block —
index.phpand.htaccessprevent direct access