WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#1353 closed defect (bug) (fixed)

Call to undefined function: get_bloginfo()

Reported by: ryan Owned by: 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 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 ryan9 years ago

  • Patch set to No

comment:2 ryan9 years ago

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

comment:3 MC_incubus9 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" />

comment:4 matt9 years ago

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

ryan9 years ago

Note: See TracTickets for help on using tickets.