[wp-hackers] Quick dumb question about get_option

Dr. Mike Wendell theapparatus at gmail.com
Wed Mar 14 14:38:11 GMT 2007


On 3/14/07, Alex Günsche <ag.ml2007 at zirona.com> wrote:
> On Wed, 2007-03-14 at 10:02 -0400, Robert Deaton wrote:
> > update_option will handle serialization and get_option will handle
> > deserialization, so there is  no need for him to worry about this.
> > get_option will return with an array if that's what was passed to
> > set_option. Don't confuse him.
>
> Alright, alright... I didn't know that WP handles serialization
> automatically.

Hmm, that's strange because what's being passed out of get_option in
this case is not an array. I put in a lay to print out the variable.
Sometimes it tell me 'Array', some times it doesn't.  Rather annoying.

Thanks for the responses,
-drmike

-- 
Blog: http://drmikessteakdinner.com
Kim Possible: Remixed: http://kimpossibleremixed.com
Get your own free hosted WordPress Blog today: http://daria.be


More information about the wp-hackers mailing list