WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 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:

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

Download all attachments as: .zip

Change History (4)

@Sewar8 years ago

comment:1 @Sewar8 years ago

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

comment:2 @ryan8 years ago

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

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

comment:3 @ryan8 years ago

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

Note: See TracTickets for help on using tickets.