WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 3 months ago

#45747 reviewing enhancement

Deprecate update_user_status

Reported by: spacedmonkey Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version: 3.0
Component: Users Keywords: has-patch good-first-bug
Focuses: multisite Cc:

Description

Deprecate the function update_user_status and replace with wp_update_user.

Attachments (1)

45747.diff (5.5 KB) - added by spacedmonkey 6 months ago.

Download all attachments as: .zip

Change History (5)

@spacedmonkey
6 months ago

#1 @SergeyBiryukov
3 months ago

Should we provide back compat for make_spam_user and make_ham_user actions?

wp_maybe_update_network_user_counts() is hooked to them.

#2 follow-up: @spacedmonkey
3 months ago

@SergeyBiryukov This patch does keep those actions. It move them to wp-includes/user.php

#3 in reply to: ↑ 2 @SergeyBiryukov
3 months ago

  • Milestone changed from Awaiting Review to 5.2
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

Replying to spacedmonkey:

This patch does keep those actions. It move them to wp-includes/user.php

Ah, I missed that. Thanks!

#4 @SergeyBiryukov
3 months ago

  • Milestone changed from 5.2 to 5.3

Missed the 5.2 Beta 1 deadline, moving to 5.3.

Note: See TracTickets for help on using tickets.