[wp-trac] [WordPress Trac] #10957: Change to defines WP_SITEURL and WP_HOME & Settings

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 14 20:22:50 UTC 2009


#10957: Change to defines WP_SITEURL and WP_HOME & Settings
--------------------------+-------------------------------------------------
 Reporter:  Frumph        |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 Logic bug.

 While repairing several sites who have installations in sub-directories,
 it's often times because they change the siteurl and blogurl inside the
 dashboard - settings - general.

 To fix them quick and easy I assumed I could just set the
 {{{
 define('WP_HOME', 'http://example.com/wordpress');
 define('WP_SITEURL', 'http://example.com/wordpress');
 }}}

 defines in the wp-config.php, but when I do that, the dashboard - settings
 - general options for changing the addresses properly in the database are
 grayed out.

 This is a bug imo because it's not safeguarding anything, the purpose for
 the overrides is to fix situations, but not having those available to be
 edited is a hindrance.

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


More information about the wp-trac mailing list