Ticket #3138 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Improvement WP_Die

Reported by: Sewar Assigned to: Sewar
Priority: normal Milestone: 2.1
Component: General Version: 2.1
Severity: normal Keywords: wp_die
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

functions.php.diff (0.9 kB) - added by Sewar on 09/17/06 12:24:50.

Change History

09/17/06 12:24:50 changed by Sewar

  • attachment functions.php.diff added.

09/17/06 12:26:12 changed by Sewar

  • owner changed from anonymous to Sewar.
  • status changed from new to assigned.

09/18/06 23:40:22 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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

09/18/06 23:41:21 changed by ryan

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