Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#3138 closed defect (bug) (fixed)

Improvement WP_Die

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

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

Download all attachments as: .zip

Change History (4)

#1 @Sewar
20 years ago

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

#2 @ryan
20 years ago

  • Resolution → fixed
  • Status assigned → closed

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

#3 @ryan
20 years ago

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

Note: See TracTickets for help on using tickets.