WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#42077 closed enhancement (fixed)

Replace calls to `refresh_blog_details()` with `clean_blog_cache()`

Reported by: flixos90 Owned by: flixos90
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords: has-patch
Focuses: multisite Cc:
PR Number:

Description

As of [41716], clean_blog_cache() is preferred over refresh_blog_details(). While the latter has not been deprecated (yet), let's replace all core calls to it with the recommended function.

Attachments (1)

42077.diff (1.3 KB) - added by flixos90 2 years ago.

Download all attachments as: .zip

Change History (4)

#1 @flixos90
2 years ago

  • Owner set to flixos90
  • Status changed from new to assigned

@flixos90
2 years ago

#2 @flixos90
2 years ago

  • Keywords has-patch added; needs-patch removed

#3 @flixos90
2 years ago

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

In 41717:

Multisite: Replace calls to refresh_blog_details() with clean_blog_cache().

Fixes #42077. See #40201.

Note: See TracTickets for help on using tickets.