[wp-trac] [WordPress Trac] #23192: Use get_user_by() in is_user_spammy()

WordPress Trac noreply at wordpress.org
Sun Jan 13 19:25:19 UTC 2013


#23192: Use get_user_by() in is_user_spammy()
-----------------------------+-------------------------
 Reporter:  ocean90          |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Multisite
  Version:                   |   Severity:  normal
 Keywords:  2nd-opinion      |
-----------------------------+-------------------------
 Comes up after reading #23190.

 Since `is_user_spammy` expects a user name, we should replace it with
 get_user_by( 'login', $username ). Same for the id.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23192>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list