Escaping data before updating options table?
-
I have a plugin that puts data in the options table using wordpress’s add_option and update_option functions.
One of my users has indicated they are getting an out of memory error and their hosting service says it’s due to the fact that I’m not escaping data that is going into the options table.
My question is do I need to escape the data (for example, I put a URL into the table, so it has slashes) before I use add_option or update_option?
Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Escaping data before updating options table?’ is closed to new replies.