diff --git a/inc/helpers/comments/item.php b/inc/helpers/comments/item.php index 2c1d3372..10e69cc1 100644 --- a/inc/helpers/comments/item.php +++ b/inc/helpers/comments/item.php @@ -158,7 +158,9 @@ if (!function_exists('aksrt_get_comments_action_dropdown_html')) : if (!empty($perms['can_pin']) && (int) $comment->comment_parent === 0) { $label = $is_pinned ? __('取消置顶', 'aksrt') : __('设置置顶', 'aksrt'); - $lists .= '
  • ' . esc_html($label) . '
  • '; + // 不带 zibll 的 wp-ajax-submit 类:vendor main.min.js 会全局代理该类并向 + // admin-ajax 发空 action 请求(400 "0"),置顶走 data-comment-action REST。 + $lists .= '
  • ' . esc_html($label) . '
  • '; } if (!empty($perms['can_edit'])) { $lists .= '
  • ' . esc_html__('编辑', 'aksrt') . '
  • ';