From 7f6661b3306c2ed15db2c4b0834d4dd9ce212f56 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 22 Feb 2014 22:27:04 +0000 Subject: [PATCH] Correct PHPDoc return description for `get_boundary_post()`. Props ericlewis. Fixes #22950. git-svn-id: https://develop.svn.wordpress.org/trunk@27235 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index d6dae4876d..0c3a8eb5de 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1312,7 +1312,7 @@ function prev_post_rel_link( $title = '%title', $in_same_term = false, $excluded * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. * @param bool $start Optional. Whether to retrieve first or last post. * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. - * @return object + * @return mixed Array containing the boundary post object if successful, null otherwise. */ function get_boundary_post( $in_same_term = false, $excluded_terms = '', $start = true, $taxonomy = 'category' ) { $post = get_post();