Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#38345 closed enhancement (fixed)

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

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

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@iamfriendly
9 years ago

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

#1 @iamfriendly
9 years ago

  • Keywords has-patch added

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

#2 @jeremyfelt
9 years ago

  • Milestone changed from Awaiting Review to 4.7
  • Owner set to jeremyfelt
  • Status changed from new to reviewing

Looks good, thanks @iamfriendly.

#3 @jeremyfelt
9 years ago

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

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.