From 5f969d10342745a164f97cf8c2e13e45a805adf0 Mon Sep 17 00:00:00 2001 From: ryan <ryan@1a063a9b-81f0-0310-95a4-ce76da25c4cd> Date: Sat, 16 May 2009 19:45:31 +0000 Subject: [PATCH] Incorporate version into description. Put version, and author link beneath description (possibly incorporate other meta here). git-svn-id: http://svn.automattic.com/wordpress/trunk@11368 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugins.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index e26479f1ed..317632c86f 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -326,7 +326,6 @@ function print_plugins_table($plugins, $context = '') { <tr> <th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th> - <th scope="col" class="manage-column num"><?php _e('Version'); ?></th> <th scope="col" class="manage-column"><?php _e('Description'); ?></th> </tr> </thead> @@ -335,7 +334,6 @@ function print_plugins_table($plugins, $context = '') { <tr> <th scope="col" class="manage-column check-column"><input type="checkbox" /></th> <th scope="col" class="manage-column"><?php _e('Plugin'); ?></th> - <th scope="col" class="manage-column num"><?php _e('Version'); ?></th> <th scope="col" class="manage-column"><?php _e('Description'); ?></th> </tr> </tfoot> @@ -381,8 +379,11 @@ function print_plugins_table($plugins, $context = '') { } echo '</div>'; echo "</td> - <td class='vers'>{$plugin_data['Version']}</td> - <td class='desc'><p>{$plugin_data['Description']}"; + <td class='desc'><p>{$plugin_data['Description']}</p>"; + if ( !empty($plugin_data['Version']) ) { + printf(__('Version: %s'), $plugin_data['Version']); + echo ' '; + } if ( !empty($plugin_data['Author']) ) { $author = $plugin_data['Author']; if ( !empty($plugin_data['AuthorURI']) )