[wp-hackers] Validate String

WP Customizer wpcustomizer at gmail.com
Tue Jan 18 23:49:31 UTC 2011


yea i already read that, talks about other data types but not just a plain
text field.

On Tue, Jan 18, 2011 at 2:09 PM, Aaron Jorbin <aaron at jorb.in> wrote:

> http://codex.wordpress.org/Data_Validation
>
> One additional function is sanitize_text_field
>
> http://aaron.jorb.in
> twitter: twitter.com/aaronjorbin
>
>
> On Tue, Jan 18, 2011 at 4:56 PM, WP Customizer <wpcustomizer at gmail.com
> >wrote:
>
> > I am wondering what is the correct method to validate a string before
> > saving
> > it as a plugin option, its just a random string i want the user to input,
> a
> > username for a third party service I am going to connect to.
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list