Make WordPress Core

Changeset 37351


Ignore:
Timestamp:
05/02/2016 11:39:12 PM (8 years ago)
Author:
DrewAPicture
Message:

Links: Clarify documentation for the $link_id parameter to mention that it accepts either an integer or object.

Props tloureiro.
See #36736.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/bookmark.php

    r35169 r37351  
    132132 * @since 2.0.0
    133133 *
    134  * @param int $link_id ID of link to retrieve.
     134 * @param int|stdClass $link_id Link ID or object to retrieve.
    135135 * @return object Link object for editing.
    136136 */
Note: See TracChangeset for help on using the changeset viewer.