Changeset 7122 for trunk/wp-admin/plugins.php
- Timestamp:
- 03/01/2008 08:38:35 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/plugins.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r7066 r7122 139 139 $style = 'class="' . $style . '"'; 140 140 if ( is_writable(ABSPATH . PLUGINDIR . '/' . $plugin_file) ) 141 $edit = " <a href='plugin-editor.php?file=$plugin_file' title='".__('Open this file in the Plugin Editor')."' class='edit'>".__('Edit')."</a>";141 $edit = " | <a href='plugin-editor.php?file=$plugin_file' title='".__('Open this file in the Plugin Editor')."' class='edit'>".__('Edit')."</a>"; 142 142 else 143 143 $edit = ''; … … 150 150 <td class='vers'>{$plugin_data['Version']}</td> 151 151 <td class='desc'><p>{$plugin_data['Description']}$author</p></td> 152 <td class='togl'>$toggle"; if ( current_user_can('edit_plugins') ) echo " |$edit</td>";152 <td class='togl'>$toggle"; if ( current_user_can('edit_plugins') ) echo "$edit</td>"; 153 153 echo" 154 154 </tr>";
Note: See TracChangeset
for help on using the changeset viewer.