• Hello. I migrated from 1.2 to 1.2.1 and since this moment, I have a slight problem with pop-up comments.
    When you post a comment through the popup, it reopens the entire post within the popup, instead of just showing the updated comments pop-up window. :-//
    How can I go back to the old way ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,
    I am having the same problem. Does anyone have a solution for this?

    Me too, having the same problem?? how to make it work??

    Thread Starter Matoo

    (@matoo)

    I found the solution !
    In fact, it’s related to the wp-comments-post.php file.
    In the 1.2.1 version, your find the following lines at the end of the file :
    $location = get_permalink($comment_post_ID);
    It has to be replaced by the following line (I just took the 1.2 version) :
    $location = (empty($_POST[‘redirect_to’])) ? $_SERVER[“HTTP_REFERER”] : $_POST[‘redirect_to’];
    It might be cristal clear for some WP guru ! ?? I just noticed the difference and thought that the first one was calling the wrong url (it loads the entire post in the pop-up) whereas the second one really refresh the window according to the former url.
    Hope it will help people in the same trouble ! ??

    Anonymous

    mine does have that, and it still pops up a new window after you post. any more ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Comments problem’ is closed to new replies.