WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#38358 closed enhancement (fixed)

Replace get_blog_details() usage in get_blogs_of_user() with get_site()

Reported by: iamfriendly Owned by: jeremyfelt
Milestone: 4.7 Priority: normal
Severity: normal Version: 4.4
Component: Networks and Sites Keywords: has-patch
Focuses: multisite Cc:

Description

See https://core.trac.wordpress.org/ticket/37102#comment:17

Numbers 24, 25, and 26 from original ticket.

Attachments (1)

38358.diff (792 bytes) - added by flixos90 4 years ago.

Download all attachments as: .zip

Change History (4)

@flixos90
4 years ago

#1 @flixos90
4 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.7
  • Owner set to jeremyfelt
  • Status changed from new to assigned

38358.diff takes care of the replacement (see number 26 in the original ticket). Number 24 and 25 are no longer relevant because of 38682.

This ticket was mentioned in Slack in #core by jeffpaul. View the logs.


4 years ago

#3 @jeremyfelt
4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 38905:

Multisite: Replace get_blog_details() with get_site() in is_user_member_of_blog().

Props flixos90.
Fixes #38358.

Note: See TracTickets for help on using tickets.