[wp-trac] [WordPress Trac] #36546: user marked as spam can log in

WordPress Trac noreply at wordpress.org
Wed Apr 27 05:35:40 UTC 2016


#36546: user marked as spam can log in
--------------------------------------+-------------------------
 Reporter:  websupporter              |       Owner:  jeremyfelt
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  4.6
Component:  Login and Registration    |     Version:  3.7
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  multisite
--------------------------------------+-------------------------
Changes (by jeremyfelt):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37316"]:
 {{{
 #!CommitTicketReference repository="" revision="37316"
 Users: Provide a full user object when checking for a spammy multisite
 user

 `is_user_spammy()` falls back to the current user if one is not provided.
 There is no current user during authentication, so the result is always
 `false`. Pass a user to fill the void.

 Adds tests for `wp_authenticate_spam_check()`.

 Props websupporter.
 Fixes #36546.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36546#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list