WordPress.org

Make WordPress Core

Changeset 38746


Ignore:
Timestamp:
10/07/16 16:59:54 (8 months ago)
Author:
swissspidy
Message:

Docs: Document global variables used by get_the_content().

Props goranseric, morganestes.
Fixes #37173.

File:
1 edited

Legend:

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

    r38604 r38746  
    248248 * @since 0.71 
    249249 * 
    250  * @global int   $page 
    251  * @global int   $more 
    252  * @global bool  $preview 
    253  * @global array $pages 
    254  * @global int   $multipage 
     250 * @global int   $page      Page number of a single post/page. 
     251 * @global int   $more      Boolean indicator for whether single post/page is being viewed. 
     252 * @global bool  $preview   Whether post/page is in preview mode. 
     253 * @global array $pages     Array of all pages in post/page. Each array element contains part of the content separated by the <!--nextpage--> tag. 
     254 * @global int   $multipage Boolean indicator for whether multiple pages are in play. 
    255255 * 
    256256 * @param string $more_link_text Optional. Content for when there is more text. 
Note: See TracChangeset for help on using the changeset viewer.