All pastes #255423 Raw Edit

wp comment-functions

public php v1 · immutable
#255423 ·published 2006-11-22 23:25 UTC
rendered paste body
diff /var/www/html/nescius/wp-includes/comment-functions.php /var/www/html/nescius/wp-includes/comment-functions.php~280c280< function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off', $display = true) {---> function comments_popup_link($zero='No Comments', $one='1 Comment', $more='% Comments', $CSSclass='', $none='Comments Off') {291c291<               $output = $none;--->               echo $none;300c300<               $output = '<a href="';--->               echo '<a href="';306,307c306,307<                       $output .= $home . '/' . $wpcommentspopupfile.'?comments_popup='.$id;<                       $output .= '" onclick="wpopen(this.href); return false"';--->                       echo $home . '/' . $wpcommentspopupfile.'?comments_popup='.$id;>                       echo '" onclick="wpopen(this.href); return false"';310c310<                               $output .= get_permalink() . '#respond';--->                               echo get_permalink() . '#respond';312,313c312,313<                               $output .= comments_link();<                       $output .= '"';--->                               comments_link();>                       echo '"';316c316<                       $output .= ' class="'.$CSSclass.'"';--->                       echo ' class="'.$CSSclass.'"';319c319<               $output .= ' title="' . sprintf( __('Comment on %s'), $title ) .'">';--->               echo ' title="' . sprintf( __('Comment on %s'), $title ) .'">';321,327c321,322<               $output .= '</a>';<       }       // Send it out<       if ( $display )<               echo $output;<       else<               return $output;<--->               echo '</a>';>       }329d323<