[wp-hackers] Write Post form validation before submit

Jeremy Clarke jer-wphackers at simianuprising.com
Fri Sep 5 16:52:07 GMT 2008


There may be a more automated way to do it, but if you're going to
actually write your own plugin code then you should look into the
filters called by wp_transition_post_status(), you could check for the
value there and set the post back to draft if its missing (and figure
out the error display to the user seperately).

-- 
Jeremy Clarke | http://simianuprising.com
Code and Design | http://globalvoicesonline.org


More information about the wp-hackers mailing list