diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-08-07 09:27:20 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-08-07 09:27:20 +0000 |
commit | 264bfb064348e9263067317e99c18f40efcfe295 (patch) | |
tree | ed4ade0d0969502cb4437e2adf9046c4554ef033 /wp-admin/plugins.php | |
parent | bd52831cc29ab4db1458cb63bd498b919fd9e17b (diff) | |
download | wordpress-mu-264bfb064348e9263067317e99c18f40efcfe295.tar.gz wordpress-mu-264bfb064348e9263067317e99c18f40efcfe295.tar.xz wordpress-mu-264bfb064348e9263067317e99c18f40efcfe295.zip |
Removed edit plugin link, fixes #396
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1018 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/plugins.php')
-rw-r--r-- | wp-admin/plugins.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index ec90396..885994b 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -111,7 +111,6 @@ if (empty($plugins)) { <th><?php _e('Plugin'); ?></th> <th style="text-align: center"><?php _e('Version'); ?></th> <th><?php _e('Description'); ?></th> - <th style="text-align: center"<?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th> </tr> </thead> <?php @@ -138,10 +137,6 @@ if (empty($plugins)) { if ( $style != '' ) $style = 'class="' . $style . '"'; - if ( is_writable(ABSPATH . PLUGINDIR . '/' . $plugin_file) ) - $edit = "<a href='plugin-editor.php?file=$plugin_file' title='".__('Open this file in the Plugin Editor')."' class='edit'>".__('Edit')."</a>"; - else - $edit = ''; echo " <tr $style> @@ -149,9 +144,6 @@ if (empty($plugins)) { <td class='vers'>{$plugin_data['Version']}</td> <td class='desc'><p>{$plugin_data['Description']} <cite>".sprintf(__('By %s'), $plugin_data['Author']).".</cite></p></td> <td class='togl'>$toggle</td>"; - if ( current_user_can('edit_plugins') ) - echo " - <td>$edit</td>"; echo" </tr>"; } |