]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/includes/class-wp-links-list-table.php
WordPress 3.9.1-scripts
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-links-list-table.php
index b5cbc5560954ab6c42ee094022d02d0fa5db6e4a..98281b0367ad1d3db58b46d616929fdfdb3a5fc8 100644 (file)
@@ -23,7 +23,7 @@ class WP_Links_List_Table extends WP_List_Table {
        function prepare_items() {
                global $cat_id, $s, $orderby, $order;
 
-               wp_reset_vars( array( 'action', 'cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'orderby', 'order', 'links_show_cat_id', 'rating', 'rel', 'notes', 'linkcheck[]', 's' ) );
+               wp_reset_vars( array( 'action', 'cat_id', 'link_id', 'orderby', 'order', 's' ) );
 
                $args = array( 'hide_invisible' => 0, 'hide_empty' => 0 );
 
@@ -114,7 +114,7 @@ class WP_Links_List_Table extends WP_List_Table {
 
                        $edit_link = get_edit_bookmark_link( $link );
 ?>
-               <tr id="link-<?php echo $link->link_id; ?>" valign="middle" <?php echo $style; ?>>
+               <tr id="link-<?php echo $link->link_id; ?>" <?php echo $style; ?>>
 <?php
 
                        list( $columns, $hidden ) = $this->get_column_info();
@@ -175,6 +175,14 @@ class WP_Links_List_Table extends WP_List_Table {
                                                ?><td <?php echo $attributes ?>><?php echo $rating; ?></td><?php
                                                break;
                                        default:
+                                               /**
+                                                * Fires for each registered custom link column.
+                                                *
+                                                * @since 2.1.0
+                                                *
+                                                * @param string $column_name Name of the custom column.
+                                                * @param int    $link_id     Link ID.
+                                                */
                                                ?>
                                                <td <?php echo $attributes ?>><?php do_action( 'manage_link_custom_column', $column_name, $link->link_id ); ?></td>
                                                <?php