[wp-trac] [WordPress Trac] #19508: get_bookmarks() comment correction

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 11 17:16:01 UTC 2011


#19508: get_bookmarks() comment correction
--------------------------+-----------------------------
 Reporter:  hearvox       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  3.3
 Severity:  minor         |   Keywords:  has-patch
--------------------------+-----------------------------
 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)..."

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19508>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list