WordPress.org

Make WordPress Core

Ticket #2625: 2625.diff

File 2625.diff, 554 bytes (added by davidhouse, 8 years ago)
  • comment-functions.php

     
    330330                if (!empty($CSSclass)) { 
    331331                        echo ' class="'.$CSSclass.'"'; 
    332332                } 
    333                 echo ' title="' . sprintf( __('Comment on %s'), $post->post_title ) .'">'; 
     333                $title = sprintf( __('Comment on %s'), $post->post_title ); 
     334                $title = apply_filters('the_title', $title); 
     335                echo " title='$title'>"; 
    334336                comments_number($zero, $one, $more, $number); 
    335337                echo '</a>'; 
    336338        }