So, I developed a new design for my site using the beta of WordPress 2.5. I tested it in the beta, and in 2.3.3, and it worked fine, but when I implemented it on the release version of WordPress 2.5, it is appearing to try to sanitize the template tags, but then not feeding them back into the actual page.
I keep on trying to think of a better way to describe it, and it’s just not coming. So:
My sidebar.php template is using wp_list_pages:
<?php wp_list_pages('title_li=<span class="navhead">Pages</span>' ); ?>
But when the page actually loads, the source is listing it as:
<li class="pagenav"><span class=\"navhead\">Pages</span>
You’ll note that it’s trying to sanitize the double quotes in the first line, but not removing the slashes when actually placing it in a page.
- The topic ‘WP not sanitizing properly?’ is closed to new replies.