Make WordPress Core

Ticket #1009: patch

File patch, 1.0 KB (added by anonymousbugger, 20 years ago)
  • comment-functions.php

    RCS file: /cvsroot/cafelog/wordpress/wp-includes/comment-functions.php,v
    retrieving revision 1.29
    diff -u -r1.29 comment-functions.php
     
    8787    echo $javascript;
    8888}
    8989
    90 function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off') {
     90function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off', $title) {
    9191    global $id, $wpcommentspopupfile, $wpcommentsjavascript, $post, $wpdb;
    9292    global $comment_count_cache;
    9393
     
    123123        if (!empty($CSSclass)) {
    124124            echo ' class="'.$CSSclass.'"';
    125125        }
     126        if (!empty($title)) {
     127            echo ' title="'.$title.'"';
     128        }
    126129        echo '>';
    127130        comments_number($zero, $one, $more, $number);
    128131        echo '</a>';