Skip to:
Content

BuddyPress.org

Opened 21 months ago

Closed 2 months ago

#9167 closed task (fixed)

Improve the way we process user spamming

Reported by: imath's profile imath Owned by: espellcaste's profile espellcaste
Milestone: 15.0.0 Priority: normal
Severity: normal Version: 1.6
Component: Members Keywords: has-patch has-unit-tests
Cc: emaralive

Description

Since WordPress 5.3 the user status is now updated using the globally available wp_update_user() function, we need to review bp_core_process_spammer_status() and deprecate bp_core_update_member_status().

Change History (7)

#1 @imath
20 months ago

  • Milestone changed from Up Next to 15.0.0

#2 @imath
20 months ago

Note to self, I have a patch ready here: https://github.com/buddypress/buddypress/compare/master...imath:buddypress:patch/9167

But Tests are failing due to bp_get_deprecated_functions_versions(), we need to fix #9210 first.

#3 @emaralive
20 months ago

  • Cc emaralive added

#4 @espellcaste
19 months ago

  • Keywords needs-refresh added
  • Milestone changed from 15.0.0 to Awaiting Review

#5 @espellcaste
2 months ago

  • Milestone changed from Awaiting Review to 15.0.0

This ticket was mentioned in PR #434 on buddypress/buddypress by renatonascalves.


2 months ago
#6

  • Keywords has-patch has-unit-tests added; needs-refresh removed

#7 @espellcaste
2 months ago

  • Owner set to espellcaste
  • Resolution set to fixed
  • Status changed from new to closed

In 14195:

Switch the function that updates the spam status of the member on multisite configs and deprecate bp_core_update_member_status.

Since WordPress 5.3, the user status is now updated using the globally available wp_update_user() function. So let us use it instead and deprecate bp_core_update_member_status().

It includes some minor Docblock changes.

Props imath.

Closes https://github.com/buddypress/buddypress/pull/434/
See #9173
Fixes #9167

Note: See TracTickets for help on using tickets.