[wp-trac] [WordPress Trac] #3138: Improvement WP_Die

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 17 12:20:49 GMT 2006


#3138: Improvement WP_Die
---------------------+------------------------------------------------------
 Reporter:  Sewar    |       Owner:  anonymous
     Type:  defect   |      Status:  new      
 Priority:  normal   |   Milestone:  2.1      
Component:  General  |     Version:  2.1      
 Severity:  normal   |    Keywords:  wp_die   
---------------------+------------------------------------------------------
 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 $_SERVER['PHP_SELF'], it was copied
 from wp-settings.php:[2171].

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3138>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list