Display comment meta data after quick update

I think the action wp_ajax_get-comments is not triggered, if you quick-update the comment. You should check, which ajax request is triggered on the update and then change your code into:

if( doing_action( 'wp_ajax_get-comments' ) || doing_action( 'wp_ajax_quick-update-action' ) ){
    ...
}

I am not able to test this code at the moment, but i hope it works.

Leave a Comment