åå¿é²ã§ããã°ããã¾ãã ãã°ã¤ã³ã®ã«ã¹ã¿ãã¤ãºã«ã¤ãã¦ã§ããå¦çã追ãã¤ã¤ããã°ã¤ã³å¨ãã§è¨ç½®ããã¦ãããã¯ã解説ãã¦ããã¾ãï¼ wp-login.php $user = wp_signon('', $secure_cookie); ã¨ããç®æã§èªè¨¼ã®å¦çãè¡ã£ã¦ãã¾ãããã°ã¤ã³ã«æåããã°$userå¤æ°ã«ã¦ã¼ã¶ãªãã¸ã§ã¯ããæ ¼ç´ããã¾ããããã°ã¤ã³ã«å¤±æããã°ãwp_errorãªãã¸ã§ã¯ããå
¥ãã¾ãããã¦ãwp_signoné¢æ°ã®ä¸èº«ãè¦ã¦ã¿ã¾ãããï¼ wp_signoné¢æ°ã®ä¸èº« do_action_ref_array('wp_authenticate', array(&$credentials['user_login'], &$credentials['user_password'])); ããã§wp_authenticateã¨ããããã¯ãåºã¦ãã¾ãããããã¯ã¦ã¼ã¶ãå
¥åãããã°
{{#tags}}- {{label}}
{{/tags}}