[wp-trac] [WordPress Trac] #4152: posts_nav_link does not detect all html entities
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 9 15:39:44 UTC 2009
#4152: posts_nav_link does not detect all html entities
----------------------------+-----------------------------------------------
Reporter: jimmyk | Owner: anonymous
Type: defect (bug) | Status: new
Priority: low | Milestone: 2.9
Component: Administration | Version: 2.1.3
Severity: normal | Keywords: needs-patch
----------------------------+-----------------------------------------------
Comment(by hakre):
Additionally for those who want to test, this little snippet helped me to
digg a bit into it:
{{{
if ( !array_key_exists('htmlspecialchars',
$GLOBALS['wp_filter']['the_title']) )
add_filter('the_title', 'htmlspecialchars', 0, 1);
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/4152#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list