Make WordPress Core

Changeset 3994


Ignore:
Timestamp:
07/06/2006 02:27:53 AM (20 years ago)
Author:
ryan
Message:

specialchars quotes in comment title. Props deko. fixes #2915

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/comment-functions.php

    r3993 r3994  
    316316                        echo ' class="'.$CSSclass.'"';
    317317                }
    318                 $title = wp_specialchars(apply_filters('the_title', get_the_title()));
    319                 echo ' title="' . sprintf( __('Comment on %s'), wp_specialchars($title, 'double') ) .'">';
     318                $title = wp_specialchars(apply_filters('the_title', get_the_title()), true);
     319                echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">';
    320320                comments_number($zero, $one, $more, $number);
    321321                echo '</a>';
Note: See TracChangeset for help on using the changeset viewer.