WordPress unresponsive after calling wp_update_comment() May 22, 2022 by Tarik Billa wp_update_comment triggers the edit_comment action (source), you’re creating an infinite loop.