[wpmu-trac] [WordPress MU Trac] #191: Not using PLUGINSDIR constant

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Nov 1 06:04:30 GMT 2006


#191: Not using PLUGINSDIR constant
------------------------+---------------------------------------------------
 Reporter:  mrjcleaver  |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 [wpmu at host public_html]$ rcsdiff wp-admin/plugins.php
 ===================================================================
 RCS file: wp-admin/plugins.php,v
 retrieving revision 1.1
 diff -r1.1 wp-admin/plugins.php
 113c113
 <               if ( is_writable(ABSPATH . 'wp-content/plugins/' .
 $plugin_file) )
 ---
 >               if ( is_writable(PLUGINDIR . $plugin_file) )

 [wpmu at host public_html]$ rcsdiff -r1.6 wp-settings.php
 ===================================================================
 RCS file: wp-settings.php,v
 retrieving revision 1.6
 diff -r1.6 wp-settings.php
 259,260c259,260
 <                       if ('' != $plugin && file_exists(ABSPATH . 'wp-
 content/plugins/' . $plugin))
 <                               include_once(ABSPATH . 'wp-
 content/plugins/' . $plugin);
 ---
 >                       if ('' != $plugin && file_exists(PLUGINSDIR .
 $plugin))
 >                               include_once(PLUGINSDIR . $plugin);

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/191>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list