• Hi there,

    Since updating to 5.5 the ‘Reply’ link to comments in the admin area is dead.

    I can reply to comments from the front of the site.

    Other links on the Comments screen in the admin area work fine – Approve, Quick Edit and Edit. Only the ‘Reply’ link is dead.

    Cheers,

    Martin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi.
    This happened because the file comment-reply.js developers access id= "reply-title" in the line
    var replyElement = getElementById( config.commentReplyTitleId );
    But this id is only present in the default arguments of the function comment_form()
    If the argument “title_reply_before” was redefined in your theme and there is no such “id” in its markup, you will get a js error when trying to reply to a comment.
    Check the file comments.php in your theme and add id="reply-title" to the parameter “title_reply_before”.
    But I think WordPress developers should fix this code themselves, because you can’t rely on the id set in the default parameters of the function. Otherwise, they are dooming thousands of users on the need to make changes to their theme!

    Sorry for my bad English – Google and I tried ))

    • This reply was modified 4 years, 6 months ago by themerex.
    Thread Starter abledragon

    (@abledragon)

    Hi there,

    Your English was fine..!

    Thanks for that information. Actually, I don’t get any JS error when I attempt to reply to a comment from with the admin area.

    Absolutely nothing happens – the link is dead.

    The other links all work fine.

    This function worked perfectly before the update to 5.5 so, in my view, it is a bug within 5.5 that the WordPress dev team needs to fix.

    Cheers,

    Martin.

    I had the same problem — after updating to WordPress 5.5, comment-reply.js seemed to stop working because replying became “manual” instead of dynamic.

    Followed @themerex’s comment by adding id="reply-title" to my theme’s markup (I didn’t have it because I customized this title).

    comment-reply.js is looking for that ID in the markup — and if it doesn’t find it, it will stop working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot Reply to Comments after Update to 5.5’ is closed to new replies.