Post Pic Prevent password reset hacking on your WordPress blog

১১/১৭/২০১১ ০২:৪৮:০০ AM | | 0 comments »

Since a few hours, a new security loophole has been discovered in WordPress 2.8.X. This problem allow anyone to reset your admin password. Creepy, isn’t it? Don’t panic, just read on to solve the problem.

As I just said, a new security loophole has just been discovered and it allow anyone to be able to reset your blog admin password. The "hacker" will not get your password (it will be emailed to you) but this can be pretty annoying.
Open the wp-login.php file (It is located in WordPress root directory) and go to line 190. You'll find this line:
if (empty($key))
Simply replace it by the following and save the < em=""> file:<>
if(empty($key) || is_array($key))