Changeset 11389
- Timestamp:
- 05/18/2009 10:17:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugins.php
r11385 r11389 370 370 $actions[] = '<a href="plugin-editor.php?file=' . $plugin_file . '" title="' . __('Open this file in the Plugin Editor') . '" class="edit">' . __('Edit') . '</a>'; 371 371 372 if ( ! empty($plugin_data['PluginURI']) ) {373 $actions[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . __( 'Visit plugin homepage' ) . '">' . __('View Site') . '</a>';374 }375 376 372 if ( ! $is_active && current_user_can('delete_plugins') ) 377 373 $actions[] = '<a href="' . wp_nonce_url('plugins.php?action=delete-selected&checked[]=' . $plugin_file . '&plugin_status=' . $context . '&paged=' . $page, 'bulk-manage-plugins') . '" title="' . __('Delete this plugin') . '" class="delete">' . __('Delete') . '</a>'; … … 397 393 $plugin_meta = array(); 398 394 if ( !empty($plugin_data['Version']) ) 399 $plugin_meta[] = sprintf(__('Version :%s'), $plugin_data['Version']);395 $plugin_meta[] = sprintf(__('Version %s'), $plugin_data['Version']); 400 396 if ( !empty($plugin_data['Author']) ) { 401 397 $author = $plugin_data['Author']; 402 398 if ( !empty($plugin_data['AuthorURI']) ) 403 399 $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . __( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>'; 404 $plugin_meta[] = ' <cite>' . sprintf( __('By: %s'), $author ) . '</cite>'; 400 $plugin_meta[] = sprintf( __('By %s'), $author ); 401 } 402 if ( ! empty($plugin_data['PluginURI']) ) { 403 $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . __( 'Visit plugin site' ) . '">' . __('Visit plugin site') . '</a>'; 405 404 } 406 405 $plugin_meta = apply_filters('plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $context); 407 echo implode(' ', $plugin_meta);406 echo implode(' | ', $plugin_meta); 408 407 echo "</p>"; 409 408 echo '</td>
Note: See TracChangeset
for help on using the changeset viewer.