Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#3138 closed defect (bug) (fixed)

Improvement WP_Die

Reported by: sewar's profile Sewar Owned by: sewar's profile Sewar
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.1
Component: General Keywords: wp_die
Focuses: Cc:

Description

WP_Die uses get_option() for getting website URL, but if there are error in DB (As the first time you run WP before installing it), the error will be puted in image source URL.

The patch replaces get_option() with $_SERVERPHP_SELF?, it was copied from wp-settings.php:[2171].

Attachments (1)

functions.php.diff (884 bytes) - added by Sewar 18 years ago.

Download all attachments as: .zip

Change History (4)

@Sewar
18 years ago

#1 @Sewar
18 years ago

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

#2 @ryan
18 years ago

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

(In [4194]) Fix logo link in wp_die(). Props Sewar. fixes #3138

#3 @ryan
18 years ago

I'm having a bad day. The changeset includes extra stuff. Pardon the noise.

Note: See TracTickets for help on using tickets.