GSoC/GCI Archive
Google Code-in 2010 WordPress

[bbPress] Research and create simple and extensible form validation

completed by: Gautam

mentors: John James Jacoby

With the bbPress plugin for WordPress using custom post types for topic and reply data storage, we are introducing a slew of new potential hazards into the WordPress posts table in terms of form validation, and user roles and capabilities. In tune with trying to keep the bbPress plugin as free flowing and extendable as possible, it will need a really slick and easy API for adding, validating, and gracefully failing on each form value that is submitted.

Your task, should you choose to accept it, is to research and come up with a really simple and slick API for this, and then make a patch for it. The bbPress plugin has the beginnings of form and field validation started, but it will need something more robust yet elegant enough for future developers to make even more cool later.