Ticket #1978: patch_texturizetitle.diff

File patch_texturizetitle.diff, 542 bytes (added by abhay, 6 years ago)

wraps wptexturize() around $post_title

  • wp-includes/comment-functions.php

     
    308308                if (!empty($CSSclass)) { 
    309309                        echo ' class="'.$CSSclass.'"'; 
    310310                } 
    311                 echo ' title="' . sprintf( __('Comment on %s'), $post->post_title ) .'">'; 
     311                echo ' title="' . sprintf( __('Comment on %s'), wptexturize($post->post_title) ) .'">'; 
    312312                comments_number($zero, $one, $more, $number); 
    313313                echo '</a>'; 
    314314        }