WordPress.org

Make WordPress Core

Changeset 3993


Ignore:
Timestamp:
07/06/06 02:24:48 (8 years ago)
Author:
ryan
Message:

specialchars comment title. Props deko. fixes #2915

File:
1 edited

Legend:

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

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