WordPress.org

Make WordPress Core

Ticket #4159: rel_tag.diff

File rel_tag.diff, 549 bytes (added by zeo, 7 years ago)
  • category-template.php

     
    420420         
    421421        $tag_list = $before; 
    422422        foreach ( $tags as $tag ) 
    423                 $tag_links[] = '<a href="' . get_tag_link($tag->cat_ID) . '">' . $tag->cat_name . '</a>'; 
     423                $tag_links[] = '<a href="' . get_tag_link($tag->cat_ID) . '" rel="tag">' . $tag->cat_name . '</a>'; 
    424424 
    425425        $tag_links = join( $sep, $tag_links ); 
    426426        $tag_links = apply_filters( 'the_tags', $tag_links );