WP Tavern › Forums › Create Topic
Devin Hi Nick. This project is very much a work in progress and I appreciate the comments. Some of the ideas I’m working on are ones I’d eventually like to see in core. You shouldn’t have to add a setting and a control, this should be done in one step. WordPress should be able to assume sanitization for most controls. The syntax should be normalized for common controls, like color pickers and image uploaders. Until it gets there though, this library has been very useful for me in my own theme projects. I definitely think it might be useful to a few others. I’ve also been working to simplify the library so parameters are simply passed through and the library doesn’t touch it except to provide sanitization and capability defaults when they aren’t explicitly declared. Not quite there yet, but getting there. If you see any fundamental bugs, definitely open an issue for it: https://github.com/devinsays/customizer-library/issues. Cheers.
Devin
Hi Nick. This project is very much a work in progress and I appreciate the comments.
Some of the ideas I’m working on are ones I’d eventually like to see in core. You shouldn’t have to add a setting and a control, this should be done in one step. WordPress should be able to assume sanitization for most controls. The syntax should be normalized for common controls, like color pickers and image uploaders.
Until it gets there though, this library has been very useful for me in my own theme projects. I definitely think it might be useful to a few others.
I’ve also been working to simplify the library so parameters are simply passed through and the library doesn’t touch it except to provide sanitization and capability defaults when they aren’t explicitly declared. Not quite there yet, but getting there. If you see any fundamental bugs, definitely open an issue for it: https://github.com/devinsays/customizer-library/issues.
Cheers.
Name *
Email *
Website:
Topic Title (Maximum Length: 80):
Forum: — No forum —AI and WordPress Articles Blocks Showcase Discussions Events Introductions Jobs and Working in WordPress Podcast Episodes Site and Block Editor
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address
Submit
Enter the destination URL
Or link to existing content