• Resolved ericabiz

    (@ericabiz)


    Using latest 4.1 of WordPress. Our “reply” comment links are broken (see http://help.com/blog/2015/01/15/12-best-customer-service-phrases/#respond for an example — click “Reply” beneath either of the comments there.)

    The “cancel comment reply” link is also broken.

    This is happening no matter what theme we use — I’ve looked at the code within WordPress, and it looks like the link is generated from within WordPress itself, in wp-includes/comment-template.php.

    The links are missing the /blog/ part of our URL. Our Site Address is set properly to http://help.com/blog — I can’t figure out what, if any, other setting would cause these links (and only these links) to stop working.

    Suggestions appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Hm, if it were a WordPress bug, we’d be getting that report from every site. As it is, WordPress 4.1 has been downloaded 9,368,471 times, and this is the first time I’ve heard of this.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue.

    Thread Starter ericabiz

    (@ericabiz)

    Actually, with all plugins deactivated and the 2015 theme enabled, this is STILL happening. Yes, I think we have found a bug in WordPress.

    What’s broken: The “Cancel comment reply” link and the “Reply” link to an existing comment.

    2015 theme:
    <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/2015/01/15/12-best-customer-service-phrases/#respond" style="display:none;">Cancel reply</a></small></h3>

    Notice the lack of /blog there as well. All of the themes use the same call to <?php cancel_comment_reply_link(); ?> , and the only parameter it accepts is the link text. That link is generated from within WordPress.

    We’re seeing it and others aren’t because we have a relatively unique setup for WordPress, where our WordPress Address and our Site Address are different, and this piece of code is failing because of that.

    http://imgur.com/kaOOqZe shows our Settings page with each URL. Everything works properly except for these comment links, so I do believe this is an internal-to-WordPress issue.

    Moderator James Huff

    (@macmanx)

    Hm, thanks for testing that!

    In that case, please do report it as a bug: https://make.ww.wp.xz.cn/core/handbook/reporting-bugs/

    John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Tracking ticket: https://core.trac.ww.wp.xz.cn/ticket/31100

    We mark posts that have trac tickets as resolved for sanity. It lets mods and volunteers know we don’t have to jump in and find an issue. You should follow the discussion on trac. You can click the ‘Watch’ button on the trac ticket (it’s near the bottom) to get email alerts. If you need to log in, it’s the same ID/password as you use for the forums.

    Moderator James Huff

    (@macmanx)

    Thanks for the link, John!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Possible bug: Comments reply link is broken’ is closed to new replies.