Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#3138 closed defect (bug) (fixed)

Improvement WP_Die

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


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

Download all attachments as: .zip

Change History (4)

11 years ago

#1 @Sewar
11 years ago

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

#2 @ryan
11 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
11 years ago

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

Note: See TracTickets for help on using tickets.