[wp-trac] [WordPress Trac] #5090: maye_create_table call to config.php issue

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 27 08:49:57 GMT 2007


#5090: maye_create_table call to config.php issue
----------------------------+-----------------------------------------------
 Reporter:  mattyrob        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  high            |   Milestone:  2.3.1    
Component:  Administration  |     Version:  2.3      
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 The maybe_create_table function has moved into a new file in this release
 of WordPress. In this new file there is a called on wp-config.php using a
 relational path - this causes issues on my plugin.

 This issue appears to be resolves using a full path definition of the
 location of the wp-config.php file.

 I'll attach a patch.diff later, in the meantime in the file /wp-admin
 /install-helper.php line 2 needs updating from:

 require_once('../wp-config.php');

 to:

 require_once(ABSPATH . 'wp-config.php');

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


More information about the wp-trac mailing list