Ticket #9443: 9443-link-manager-missing-rating-field.patch
File 9443-link-manager-missing-rating-field.patch, 1.9 KB (added by , 16 years ago) |
---|
-
wp-admin/link-manager.php
174 174 if (strlen($short_url) > 35) 175 175 $short_url = substr($short_url, 0, 32).'...'; 176 176 $visible = ($link->link_visible == 'Y') ? __('Yes') : __('No'); 177 $rating = $link->link_rating; 177 178 $style = ($alt % 2) ? '' : ' class="alternate"'; 179 178 180 ++ $alt; 179 181 $edit_link = get_edit_bookmark_link(); 180 182 ?><tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>><?php … … 231 233 ?><td <?php echo $attributes ?>><?php echo empty($link->link_rel) ? '<br />' : $link->link_rel; ?></td><?php 232 234 break; 233 235 case 'visible': 234 ?><td <?php echo $attributes ?>><?php echo $visible; ?></td><?php 236 case 'rating': 237 ?><td <?php echo $attributes ?>><?php echo $$column_name; ?></td><?php 235 238 break; 236 239 default: 237 240 ?> 238 <td> <?php do_action('manage_link_custom_column', $column_name, $link->link_id); ?></td>241 <td>test<?php do_action('manage_link_custom_column', $column_name, $link->link_id); ?></td> 239 242 <?php 240 243 break; 241 244 -
wp-admin/includes/template.php
841 841 'url' => __('URL'), 842 842 'categories' => __('Categories'), 843 843 'rel' => __('Relationship'), 844 'visible' => __('Visible') 844 'visible' => __('Visible'), 845 // rating 846 'rating' => __('Rating') 845 847 ); 846 848 847 849 break; … … 2533 2535 } 2534 2536 ?> 2535 2537 2536 <input type="hidden" id="ss" name="ss" value="<?php echo $ss ?>" size="2" maxlength="2" />2537 2538 2538 <p> 2539 2539 <a href="#edit_timestamp" class="save-timestamp hide-if-no-js button"><?php _e('OK'); ?></a> 2540 2540 <a href="#edit_timestamp" class="cancel-timestamp hide-if-no-js"><?php _e('Cancel'); ?></a>