Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1353 closed defect (bug) (fixed)

Call to undefined function: get_bloginfo()

Reported by: ryan's profile ryan Owned by: matt's profile matt
Milestone: Priority: normal
Severity: minor Version: 1.5.1
Component: Administration Keywords:
Focuses: Cc:

Description

<a href="http://trac.wordpress.org/changeset/2548">Changeset 2548</a> introduced calls to get_bloginfo() inside wpdb's bail() method. get_bloginfo() is not yet included at the time bail() runs resulting in the undefined function error. The calls to get_bloginfo() should probably be removed.

Attachments (1)

wp-db.php (631 bytes) - added by ryan 19 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ryan
19 years ago

  • Patch set to No

#2 @ryan
19 years ago

  • Owner changed from anonymous to matt
  • Status changed from new to assigned

#3 @MC_incubus
19 years ago

Patch takes the easy way out and just says "take this text/html and utf-8 and don't give me no lip!"

text/html and utf-8 are hardcoded into the http-equiv <meta /> anyway...

header( 'Content-Type: text/html; charset=utf-8');
vs.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

#4 @matt
19 years ago

  • fixed_in_version set to 1.5.1.1
  • Resolution changed from 10 to 20
  • Status changed from assigned to closed

@ryan
19 years ago

Note: See TracTickets for help on using tickets.