[buddypress-trac] [BuddyPress Trac] #7461: Allow BuddyPress to fetch 'illegal_user_logins' from WordPress core hook
buddypress-trac
noreply at wordpress.org
Thu Aug 17 02:03:14 UTC 2017
#7461: Allow BuddyPress to fetch 'illegal_user_logins' from WordPress core hook
--------------------------+------------------
Reporter: espellcaste | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Core | Version:
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+------------------
Changes (by boonebgorges):
* keywords: => needs-patch
Comment:
Here's a persistent GitHub link to the filter in question:
https://github.com/buddypress/BuddyPress/blob/07cac031fb1349f5636604474eaf355176472dcf/src
/bp-members/bp-members-functions.php#L1583
@espellcaste Any chance you could create a patch?
As a side note, it's odd that WordPress doesn't have a helper function for
this. It calls `apply_filters( 'illegal_user_logins' )` about six separate
times. If WP had a function with a filterable return value, our own
implementation could filter it.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7461#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list