Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
content filters and page slugs
#5
I assume this is because get_page_content()
does a $content = strip_decode($content);
which is stripslashes(htmlspecialchars_decode($text, ENT_QUOTES));

good catch, I think that should do it, we should add a strip_encode function to core.
It depends on where your new content is coming from of course as to whether it is required.

If you are grabbing page contents then that is where you should be using strip_decode
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
content filters and page slugs - by shawn_a - 2012-05-16, 04:41:52
RE: content filters and page slugs - by shawn_a - 2013-04-30, 01:19:36
content filters and page slugs - by mvlcek - 2012-05-16, 06:28:13
RE: content filters and page slugs - by Carlos - 2013-04-30, 01:07:51
content filters and page slugs - by shawn_a - 2012-06-01, 04:45:57



Users browsing this thread: 1 Guest(s)