diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 9133bed9bb..5e64f57ddf 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -853,7 +853,8 @@ function get_column_headers($page) { 'url' => __('URL'), 'categories' => __('Categories'), 'rel' => __('Relationship'), - 'visible' => __('Visible') + 'visible' => __('Visible'), + 'rating' => __('Rating') ); break; diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 8dff2b6a18..c867440017 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -174,6 +174,7 @@ if ( $links ) { if (strlen($short_url) > 35) $short_url = substr($short_url, 0, 32).'...'; $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); + $rating = $link->link_rating; $style = ($alt % 2) ? '' : ' class="alternate"'; ++ $alt; $edit_link = get_edit_bookmark_link(); @@ -184,8 +185,7 @@ if ( $links ) { $style = ''; if ( in_array($column_name, $hidden) ) $style = ' style="display:none;"'; - if ( 'visible' == $column_name ) - $style = empty($style) ? ' style="text-align: center;"' : ' style="text-align: center; display: none;"'; + $attributes = "$class$style"; switch($column_name) { @@ -233,6 +233,9 @@ if ( $links ) { case 'visible': ?>