Make WordPress Core

Changeset 32527


Ignore:
Timestamp:
05/21/2015 08:12:41 PM (9 years ago)
Author:
wonderboymusic
Message:

In bookmark.php, clarify some return docs.

See #32444.

File:
1 edited

Legend:

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

    r31090 r32527  
    1717 * @param string $output Optional. Either OBJECT, ARRAY_N, or ARRAY_A constant
    1818 * @param string $filter Optional, default is 'raw'.
    19  * @return array|object Type returned depends on $output value.
     19 * @return array|object|null Type returned depends on $output value.
    2020 */
    2121function get_bookmark($bookmark, $output = OBJECT, $filter = 'raw') {
     
    6666 * @param int $bookmark The bookmark ID to get field
    6767 * @param string $context Optional. The context of how the field will be used.
    68  * @return string
     68 * @return string|WP_Error
    6969 */
    7070function get_bookmark_field( $field, $bookmark, $context = 'display' ) {
Note: See TracChangeset for help on using the changeset viewer.