📅  最后修改于: 2022-03-11 15:00:50.811000             🧑  作者: Mango
add_filter('comment_post_redirect', 'redirect_after_comment');
function redirect_after_comment($location)
{
return $_SERVER["HTTP_REFERER"];
}