From a76767e2ed62298c5f1046bcb09aed2a14067df8 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Mon, 2 May 2016 23:39:12 +0000 Subject: [PATCH] Links: Clarify documentation for the `$link_id` parameter to mention that it accepts either an integer or object. Props tloureiro. See #36736. git-svn-id: https://develop.svn.wordpress.org/trunk@37351 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/bookmark.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/bookmark.php b/src/wp-admin/includes/bookmark.php index 0d85026588..0f91fec86e 100644 --- a/src/wp-admin/includes/bookmark.php +++ b/src/wp-admin/includes/bookmark.php @@ -131,7 +131,7 @@ function wp_get_link_cats( $link_id = 0 ) { * * @since 2.0.0 * - * @param int $link_id ID of link to retrieve. + * @param int|stdClass $link_id Link ID or object to retrieve. * @return object Link object for editing. */ function get_link_to_edit( $link_id ) {