[wp-trac] [WordPress Trac] #14070: 3.0 admin.php tries to read $plugin_page from the wrong directory

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 24 12:34:57 UTC 2010


#14070: 3.0 admin.php tries to read $plugin_page from the wrong directory
----------------------------+-----------------------------------------------
 Reporter:  bigsmoke        |       Owner:            
     Type:  defect (bug)    |      Status:  new       
 Priority:  normal          |   Milestone:  Unassigned
Component:  Administration  |     Version:            
 Severity:  major           |    Keywords:            
----------------------------+-----------------------------------------------
 2.9 did this right. It should do

 include(WP_PLUGIN_DIR . "/$plugin_page");

 instead of

 include(ABSPATH . PLUGINDIR . "/$plugin_page");

 on line 155 of wp-admin/admin.php

 It looks like a bug that got introduced by merging WPMU code.
 This breaks the features introduced in 2.6 that let you keep WordPress in
 its own directory separate from wp-content (if WP_CONTENT_DIR != ABS_PATH
 . '/wp-content')

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


More information about the wp-trac mailing list