• I was validating data for textarea using esc_textarea but when extracting the value using get_option and trying to embed the value in the code it is adding some extra code like &gt,&lt so is there any way to filter this out or decode it.Actully i am giving image path using textarea so instead of displaying image it is displaying the path. when i remove esc_textarea in validation it works fine.Any help will be appreciated

Viewing 1 replies (of 1 total)
  • I am not sure that I well understood… So I may be wrong. It seems that you apply esc_textarea to text you stores in options. And I believe that esc_textarea must be applied just before outputting the text.

Viewing 1 replies (of 1 total)
  • The topic ‘problem with esc_textarea’ is closed to new replies.