diff --git a/src/wp-admin/includes/bookmark.php b/src/wp-admin/includes/bookmark.php
index 0d85026..aa4ab16 100644
a
|
b
|
function wp_get_link_cats( $link_id = 0 ) { |
131 | 131 | * |
132 | 132 | * @since 2.0.0 |
133 | 133 | * |
134 | | * @param int $link_id ID of link to retrieve. |
| 134 | * @param int|stdClass $link_id ID or Bookmark of link to retrieve. |
135 | 135 | * @return object Link object for editing. |
136 | 136 | */ |
137 | | function get_link_to_edit( $link_id ) { |
138 | | return get_bookmark( $link_id, OBJECT, 'edit' ); |
| 137 | function get_link_to_edit( $bookmark ) { |
| 138 | return get_bookmark( $bookmark, OBJECT, 'edit' ); |
139 | 139 | } |
140 | 140 | |
141 | 141 | /** |