What is the proper filter to add html to a post / page title?
the_title is the correct hook. You can confirm that by checking the source. What you are doing is a bit odd, but it makes sense. Clever solution but I don’t think it was expected. The problem you having seems to be with this line: http://core.trac.wordpress.org/browser/tags/3.5/wp-includes/default-widgets.php#L574 <a href=”<?php the_permalink() ?>” title=”<?php echo esc_attr( get_the_title() ? get_the_title() … Read more