[Solution found!] 要添加到@EAMann的答案中,您需要在操作中包装您的wp_get_current_user()调用(或任何尝试访问中定义的函数的调用pluggable.php)'plugins_loaded' ...
確定! 回上一頁