Commit 0d360847 authored by Drew Jaynes's avatar Drew Jaynes
Browse files

Correct PHPDoc return description for `get_boundary_post()`.

Props ericlewis.
Fixes #22950.

Built from https://develop.svn.wordpress.org/trunk@27235


git-svn-id: https://core.svn.wordpress.org/trunk@27092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent 7f6677f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();