Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#19508 closed defect (bug) (fixed)

get_bookmarks() comment correction

Reported by: hearvox's profile hearvox Owned by: nacin's profile nacin
Milestone: 3.4 Priority: normal
Severity: minor Version: 2.5
Component: Inline Docs Keywords: has-patch commit
Focuses: Cc:


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)..."

Attachments (1)

bookmark.diff (685 bytes) - added by hearvox 12 years ago.
Comment wording changed

Download all attachments as: .zip

Change History (5)

12 years ago

Comment wording changed

#1 @hearvox
12 years ago

  • Cc mbox@… added

#2 @helenyhou
12 years ago

  • Component changed from Comments to Inline Docs
  • Version changed from 3.3 to 2.5

#3 @SergeyBiryukov
12 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.4

#4 @nacin
12 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19615]:

get_bookmarks() doc fix. props hearvox, fixes #19508.

Note: See TracTickets for help on using tickets.