{"id":7799000,"date":"2013-10-16T21:08:39","date_gmt":"2013-10-16T21:08:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/works-well-but-small-plugin-error\/"},"modified":"2016-09-02T22:01:27","modified_gmt":"2016-09-02T22:01:27","slug":"works-well-but-small-plugin-error","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/works-well-but-small-plugin-error\/","title":{"rendered":"Works well but small plugin error"},"content":{"rendered":"<p>When WordPress is set in development mode (WP_DEBUG is true) to show errors, I noticed this plugin returns a php error when attempting to log in with an incorrect password. I changed this in the code and it appears to work now:<\/p>\n<p>function checkme($ha1, $password, $hash, <strong>$user_id<\/strong>) {<\/p>\n<p>add_filter(&#8216;check_password&#8217;, &#8216;checkme&#8217;, 10, 4);<\/p>\n<p>Can you confirm?<\/p>\n","protected":false},"template":"","class_list":["post-7799000","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7799000","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/7799000\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=7799000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}