Make WordPress Core

Ticket #37267: 37267.diff

File 37267.diff, 493 bytes (added by henry.wright, 9 years ago)
  • src/wp-includes/comment-template.php

    diff --git src/wp-includes/comment-template.php src/wp-includes/comment-template.php
    index 42ebd41..295972e 100644
    function post_reply_link($args = array(), $post = null) { 
    17711771 * @return string
    17721772 */
    17731773function get_cancel_comment_reply_link( $text = '' ) {
     1774        if ( ! get_option( 'thread_comments' ) ) {
     1775                return '';
     1776        }
     1777
    17741778        if ( empty($text) )
    17751779                $text = __('Click here to cancel reply.');
    17761780