Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#1353 closed defect (bug) (fixed)

Call to undefined function: get_bloginfo()

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

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 21 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ryan
21 years ago

  • PatchNo

#2 @ryan
21 years ago

  • Owner changed from anonymous to matt
  • Status newassigned

#3 @MC_incubus
21 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
21 years ago

  • fixed_in_version1.5.1.1
  • Resolution 1020
  • Status assignedclosed

@ryan
21 years ago

Note: See TracTickets for help on using tickets.