Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14021 closed defect (bug) (fixed)

Undefined function get_blog_info()

Reported by: jimisaacs Owned by:
Milestone: 3.0.1 Priority: high
Severity: major Version: 3.0
Component: Import Keywords: undefined function
Focuses: Cc:


Don't ask me how I came across this, it was a fluke just searching for another method and found this in class-wp-importer being called on line 133.

But there is no definition for it.

Attachments (1)

class-wp-importer.diff (654 bytes) - added by briancolinger 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 @nacin5 years ago

  • Milestone changed from Unassigned to 3.0.1
  • Priority changed from normal to high

Looks like it's supposed to be get_blog_details() I think?

comment:2 @jimisaacs5 years ago

I think you are right, but is it being called correctly with these arguments?

get_blog_details( $fields, $get_all = true )

comment:3 @briancolinger5 years ago

Sorry about that, attaching patch.

comment:4 @nacin5 years ago

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

(In [15297]) Use correct function name. props briancolinger, fixes #14021 for trunk.

comment:5 @nacin5 years ago

(In [15298]) Use correct function name. props briancolinger, fixes #14021 for 3.0.

Note: See TracTickets for help on using tickets.