Skip to:

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#7738 closed task (fixed)

Deprecated functions for v3.0

Reported by: r-a-y's profile r-a-y Owned by: djpaul's profile djpaul
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Core Keywords: dev-feedback


While working on #7218, I encountered some older functions that are not really used in the Members component anymore:

bp_core_action_set_spammer_status() -
bp_core_action_delete_user() -

According to the inline doc, we unhooked these functions in BP 1.6 and the Settings component pages took precedence. Time to deprecate?

Also would be good to check if we can remove some other functions as well.

Change History (3)

#1 @DJPaul
6 years ago


It’s a shame BP is loading the deprecated code files all the time - you might remember I tried to adjust that to load only for old sites a few releases back, but that implementation was wrong and we had to end up reverting the implementation. So moving the functions now won’t have any impact today but will hopefully in the future. 😁

#2 @djpaul
6 years ago

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

In 11940:

Core: deprecate functions soft-removed in BP 2.6

Fixes #7738

Props r-a-y

#3 @djpaul
6 years ago

In 11941:

Core: fix missing deprecation notice for certain functions.

See #7738

Note: See TracTickets for help on using tickets.