From 5674a54940d2f8b548744e6644bf77cfa1a6f791 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 28 Oct 2013 11:05:26 +0000 Subject: [PATCH] Fix a copy/paste error in get_next_post_link() description and $format argument. props jim912, ounziw. fixes #25743. git-svn-id: https://develop.svn.wordpress.org/trunk@25965 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 966d606d40..1eef31cc0f 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1391,10 +1391,9 @@ function previous_post_link( $format = '« %link', $link = '%title', $in_sa } /** - * Get previous post link that is adjacent to the current post. + * Get next post link that is adjacent to the current post. * * @since 3.7.0 - * @uses get_next_post_link() * * @param string $format Optional. Link anchor format. * @param string $link Optional. Link permalink format. @@ -1403,7 +1402,7 @@ function previous_post_link( $format = '« %link', $link = '%title', $in_sa * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'. * @return string */ -function get_next_post_link( $format = '« %link', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' ) { +function get_next_post_link( $format = '%link »', $link = '%title', $in_same_cat = false, $excluded_terms = '', $taxonomy = 'category' ) { return get_adjacent_post_link( $format, $link, $in_same_cat, $excluded_terms, false, $taxonomy ); }