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 ); }