X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/607b7e02d77e7326161e8ec15639052d2040f745..aaf6ab9705b7f76e8b7d3a69f6fd52c173b6b3b8:/wp-includes/bookmark.php diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php index fc719d58..718760be 100644 --- a/wp-includes/bookmark.php +++ b/wp-includes/bookmark.php @@ -14,7 +14,8 @@ * @global wpdb $wpdb WordPress database abstraction object. * * @param int|stdClass $bookmark - * @param string $output Optional. Either OBJECT, ARRAY_N, or ARRAY_A constant + * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to + * an stdClass object, an associative array, or a numeric array, respectively. Default OBJECT. * @param string $filter Optional, default is 'raw'. * @return array|object|null Type returned depends on $output value. */ @@ -300,10 +301,10 @@ function get_bookmarks( $args = '' ) { * * @since 2.3.0 * - * @param object|array $bookmark Bookmark row + * @param stdClass|array $bookmark Bookmark row * @param string $context Optional, default is 'display'. How to filter the * fields - * @return object|array Same type as $bookmark but with fields sanitized. + * @return stdClass|array Same type as $bookmark but with fields sanitized. */ function sanitize_bookmark($bookmark, $context = 'display') { $fields = array('link_id', 'link_url', 'link_name', 'link_image', 'link_target', 'link_category',