Docs: Escape the `<!--nextpage-->` page tag in `wp_link_pages()` and `get_the_content()` description for proper display in Developer Reference.

Props grapplerulrich.
See #42505.
Built from https://develop.svn.wordpress.org/trunk@43307


git-svn-id: http://core.svn.wordpress.org/trunk@43136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-05-22 18:57:25 +00:00
parent a30e75437a
commit 0caf5278c6
2 changed files with 4 additions and 3 deletions

View File

@ -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 <!--nextpage--> tag.
* @global array $pages Array of all pages in post/page. Each array element contains
* part of the content separated by the `<!--nextpage-->` 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 <!--nextpage-->.
* Displays page links for paginated posts (i.e. including the `<!--nextpage-->`
* Quicktag one or more times). This tag must be within The Loop.
*
* @since 1.2.0

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-43304';
$wp_version = '5.0-alpha-43307';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.