Uncaught ReferenceError: ajax_var is not defined wp_enqueue_script('like_post/js/post-like.js', array('jquery'), '1.0', 1 );
wp_localize_script('like_post', 'a
因此,查询会报错: WriteError: The path 'comments.likes' must exist in the document in order to apply array updates完整输出: WriteError: The path 'comments.likes' must exist in the document in order to apply array updates"code" : 2,
"errmsg" : "T