fixes #117 - wordpress 3.2 adds rel="author" to author links now so we don't need to do it

This commit is contained in:
Ben Word
2011-08-11 09:04:35 -06:00
parent 4ead4e0a3f
commit ab0d299d13

View File

@@ -379,13 +379,6 @@ function roots_robots() {
add_action('do_robots', 'roots_robots');
// http://www.google.com/support/webmasters/bin/answer.py?answer=1229920
function roots_author_link($link) {
return str_replace('<a ', '<a class="fn" rel="author"', $link);
}
add_filter('the_author_posts_link', 'roots_author_link');
// we don't need to self-close these tags in html5:
// <img>, <input>
function roots_remove_self_closing_tags($input) {