get_bookmarks() comment correction
|Reported by:||hearvox||Owned by:||nacin|
In the comments for get_bookmarks(), the parameters 'include' and 'exclude' are described as being for "categories", but what's being in-/ex-cluded is link_id(s).
So in file wp-includes/bookmark.php on lines 104-107:
* 'include' - Default is empty string (string). Include other categories * separated by commas. * 'exclude' - Default is empty string (string). Exclude other categories * separated by commas.`
It should be:
"...Include bookmark ID(s) separated by commas." And "Exclude bookmark ID(s)..."
Change History (5)
- Component changed from Comments to Inline Docs
- Version changed from 3.3 to 2.5
comment:3 SergeyBiryukov — 2 years ago
- Keywords commit added
- Milestone changed from Awaiting Review to 3.4