Skip to content

Commit 752d544

Browse files
Docs: Correct $format default in get_next_post_link() and next_post_link().
Follow-up to [37254]. Props ishihara-takashi, sabernhardt, khokansardar, mindctrl, SergeyBiryukov. Fixes #65541. git-svn-id: https://develop.svn.wordpress.org/trunk@62565 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 260fcbe commit 752d544

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/link-template.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2291,7 +2291,7 @@ function previous_post_link( $format = '« %link', $link = '%title', $in_sa
22912291
*
22922292
* @since 3.7.0
22932293
*
2294-
* @param string $format Optional. Link anchor format. Default '« %link'.
2294+
* @param string $format Optional. Link anchor format. Default '%link »'.
22952295
* @param string $link Optional. Link permalink format. Default '%title'.
22962296
* @param bool $in_same_term Optional. Whether link should be in the same taxonomy term.
22972297
* Default false.
@@ -2311,7 +2311,7 @@ function get_next_post_link( $format = '%link »', $link = '%title', $in_sa
23112311
*
23122312
* @see get_next_post_link()
23132313
*
2314-
* @param string $format Optional. Link anchor format. Default '« %link'.
2314+
* @param string $format Optional. Link anchor format. Default '%link »'.
23152315
* @param string $link Optional. Link permalink format. Default '%title'.
23162316
* @param bool $in_same_term Optional. Whether link should be in the same taxonomy term.
23172317
* Default false.

0 commit comments

Comments
 (0)