Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#38345 closed enhancement (fixed)

Replace get_blog_details() usage in WP_Importer::set_blog() with get_site()

Reported by: iamfriendly Owned by: jeremyfelt
Priority: normal Milestone: 4.7
Component: Import Version: 3.1
Severity: normal Keywords: has-patch
Cc: Focuses: multisite

Description

Attachments (1)

38345.diff (1.1 KB ) - added by iamfriendly 10 years ago.
Replaced get_blog_details() with get_sites() and array_shift()

Download all attachments as: .zip

Change History (4)

@iamfriendly
10 years ago

Replaced get_blog_details() with get_sites() and array_shift()

#1 @iamfriendly
10 years ago

  • Keywords has-patch added

Replaced get_blog_details() with get_sites() and array_shift() in 38345.diff

#2 @jeremyfelt
10 years ago

  • Milestone Awaiting Review4.7
  • Owner set to jeremyfelt
  • Status newreviewing

Looks good, thanks @iamfriendly.

#3 @jeremyfelt
10 years ago

  • Resolutionfixed
  • Status reviewingclosed

In 38820:

Multisite: Replace get_blog_details() in WP_Importer::set_blog() with get_site().

Props spacedmonkey, iamfriendly.
See #37102.
Fixes #38345.

Note: See TracTickets for help on using tickets.