From 805f4464a414e780fd1d9f86b4e0cc269df66d25 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 25 Jun 2017 06:19:24 +0000 Subject: [PATCH] Docs: Fix a typo in the description for the `get_previous_post_link()` `$link` parameter. The default value is '%title', not '%title%'. Props kmgalanakis. See #41017. git-svn-id: https://develop.svn.wordpress.org/trunk@40931 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 4adc6c95ac..e9143b5acc 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1932,7 +1932,7 @@ function get_boundary_post( $in_same_term = false, $excluded_terms = '', $start * @since 3.7.0 * * @param string $format Optional. Link anchor format. Default '« %link'. - * @param string $link Optional. Link permalink format. Default '%title%'. + * @param string $link Optional. Link permalink format. Default '%title'. * @param bool $in_same_term Optional. Whether link should be in a same taxonomy term. Default false. * @param array|string $excluded_terms Optional. Array or comma-separated list of excluded term IDs. Default empty. * @param string $taxonomy Optional. Taxonomy, if $in_same_term is true. Default 'category'.