• Resolved ckchaudhary

    (@ckchaudhary)


    Great plugin.
    Thank you so much for that.
    I found an issue with the new export comments feature. It always exports all the comments and not the comments associated with selected posts.
    Here’s what fixed it for me:
    in aspose_doc_exporter_admin.php line number 280 and 281 should be changed
    from

    $defaults = array('ID' => $post_id, 'status' => 'approve');
    $post_comments = get_comments($defaults);

    to

    $defaults = array('post_id' => $post_id, 'status' => 'approve');
    $post_comments = get_comments($defaults);

    https://ww.wp.xz.cn/plugins/aspose-doc-exporter/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Bug in comment export’ is closed to new replies.