WordPress.org

Make WordPress Core

Ticket #7244: pop3.patch

File pop3.patch, 527 bytes (added by lilyfan, 7 years ago)

Patch for wp-includes/class-pop3.php

Line 
152a48,50
2>     var $ALLOWLOGIN = FALSE;    //  Allow or disallow login()
3>                                 //  when APOP auth failed
4>
5182a181,182
6>                 if (! $this->ALLOWLOGIN)
7>                       return false;
8192a193,194
9>                     if (! $this->ALLOWLOGIN)
10>                           return false;
11220c222
12<                 if( (!$count) || ($count == -1) ) {
13---
14>                 if ($count == -1) {
15488c490
16<         $reply = fgets($fp,$this->BUFFER);
17---
18>         $reply = @fgets($fp,$this->BUFFER);