From 879453da2ab7daa780167499e615b95ee32e262d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 22 May 2018 18:56:49 +0000 Subject: [PATCH] Docs: Escape the `` page tag in `wp_link_pages()` and `get_the_content()` description for proper display in Developer Reference. Props grapplerulrich. See #42505. git-svn-id: https://develop.svn.wordpress.org/trunk@43307 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index b2c0d300c7..c888cd1549 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -257,7 +257,8 @@ function the_content( $more_link_text = null, $strip_teaser = false ) { * @global int $page Page number of a single post/page. * @global int $more Boolean indicator for whether single post/page is being viewed. * @global bool $preview Whether post/page is in preview mode. - * @global array $pages Array of all pages in post/page. Each array element contains part of the content separated by the tag. + * @global array $pages Array of all pages in post/page. Each array element contains + * part of the content separated by the `` tag. * @global int $multipage Boolean indicator for whether multiple pages are in play. * * @param string $more_link_text Optional. Content for when there is more text. @@ -862,7 +863,7 @@ function post_password_required( $post = null ) { /** * The formatted output of a list of pages. * - * Displays page links for paginated posts (i.e. includes the . + * Displays page links for paginated posts (i.e. including the `` * Quicktag one or more times). This tag must be within The Loop. * * @since 1.2.0