Changeset 4972
- Timestamp:
- 03/06/2007 05:47:27 PM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r4811 r4972 117 117 if ( $style != '' ) 118 118 $style = 'class="' . $style . '"'; 119 if ( is_writable(ABSPATH . 'wp-content/plugins/' . $plugin_file) )119 if ( is_writable(ABSPATH . PLUGINDIR . '/' . $plugin_file) ) 120 120 $edit = "<a href='plugin-editor.php?file=$plugin_file' title='".__('Open this file in the Plugin Editor')."' class='edit'>".__('Edit')."</a>"; 121 121 else -
trunk/wp-settings.php
r4926 r4972 202 202 if ( is_array($current_plugins) ) { 203 203 foreach ($current_plugins as $plugin) { 204 if ('' != $plugin && file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))205 include_once(ABSPATH . 'wp-content/plugins/' . $plugin);204 if ('' != $plugin && file_exists(ABSPATH . PLUGINDIR . '/' . $plugin)) 205 include_once(ABSPATH . PLUGINDIR . '/' . $plugin); 206 206 } 207 207 }
Note: See TracChangeset
for help on using the changeset viewer.