[resolved] get_bookmarks() comment correction (4 posts)

  1. hearvox
    Posted 4 years ago #

    In the comments for get_bookmarks(), the parameters 'include' and 'exclude' are described as being for "categories", but I'm pretty sure what's being in-/ex-cluded is link_id(s).

    If so, then 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 probably be:
    "...Include bookmark ID(s) separated by commas." And "Exclude bookmark ID(s)...".

  2. Andrew Nacin
    Lead Developer
    Posted 4 years ago #

    Thanks. Can you resubmit this on http://core.trac.wordpress.org?

  3. hearvox
    Posted 4 years ago #


    attached a patch attached to ticket. my first try, so hope i did it right. Internet still up and still have power at my house, so all well so far.

  4. Nice job :D

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.