Skip to:
Content

BuddyPress.org

Opened 2 years ago

Closed 7 months ago

#9167 closed task (fixed)

Improve the way we process user spamming

Reported by: imath Owned by: espellcaste
Priority: normal Milestone: 15.0.0
Component: Members Version: 1.6
Severity: normal 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
2 years ago

  • Milestone Up Next15.0.0

#2 @imath
2 years 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
2 years ago

  • Cc emaralive added

#4 @espellcaste
2 years ago

  • Keywords needs-refresh added
  • Milestone 15.0.0Awaiting Review

#5 @espellcaste
7 months ago

  • Milestone Awaiting Review15.0.0

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


7 months ago
#6

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

#7 @espellcaste
7 months ago

  • Owner set to espellcaste
  • Resolutionfixed
  • Status newclosed

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.