wp-admin-form-controls
OfficialEnqueue core WP admin form widgets correctly
Software Engineering#sanitization#autocomplete#wordpress#admin ui#color picker#datepicker#wp-pointer
Authorvikingokft
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Fixes broken or unstyled WordPress admin form controls caused by incorrect enqueues, missing companion assets (CSS/JS), and subtle API/formatting mismatches when using core widgets.
Core Features & Use Cases
- Correct widget enqueues: Ensures
wp-color-pickerincludes both script and stylesheet, and thatwp-pointeruses both script and its required styles. - Core datepicker and formatting correctness: Handles the fact that
jquery-ui-datepickerships without default WP CSS, and applies the correct jQuery UIdateFormatplus strict server-side sanitization to store ISOY-m-dsafely. - Reliable autocomplete and pointer behavior: Uses proper
jquery-ui-autocompletesourceshapes (including async patterns usingresponse()), and persistswp-pointerdismissal via core’sdismiss-wp-pointerconvention.
Quick Start
Ask the AI to generate the exact WordPress admin enqueue + field markup + JS init needed for a settings page field that needs a color picker, a yy-mm-dd datepicker, and an async autocomplete with persisted onboarding tooltip.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wp-admin-form-controls Download link: https://github.com/vikingokft/wp-agent-skills/archive/main.zip#wp-admin-form-controls Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.