Make WordPress Core


Ignore:
Timestamp:
05/22/2018 06:56:49 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post-template.php

    r43177 r43307  
    258258 * @global int   $more      Boolean indicator for whether single post/page is being viewed.
    259259 * @global bool  $preview   Whether post/page is in preview mode.
    260  * @global array $pages     Array of all pages in post/page. Each array element contains part of the content separated by the <!--nextpage--> tag.
     260 * @global array $pages     Array of all pages in post/page. Each array element contains
     261 *                          part of the content separated by the `<!--nextpage-->` tag.
    261262 * @global int   $multipage Boolean indicator for whether multiple pages are in play.
    262263 *
     
    863864 * The formatted output of a list of pages.
    864865 *
    865  * Displays page links for paginated posts (i.e. includes the <!--nextpage-->.
     866 * Displays page links for paginated posts (i.e. including the `<!--nextpage-->`
    866867 * Quicktag one or more times). This tag must be within The Loop.
    867868 *
Note: See TracChangeset for help on using the changeset viewer.