Docs: Document global variables used by get_the_content().

Props goranseric, morganestes.
Fixes #37173.
Built from https://develop.svn.wordpress.org/trunk@38746


git-svn-id: http://core.svn.wordpress.org/trunk@38689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2016-10-07 17:00:29 +00:00
parent 319d885ea0
commit 561c136b8f
2 changed files with 6 additions and 6 deletions

View File

@ -247,11 +247,11 @@ function the_content( $more_link_text = null, $strip_teaser = false) {
* *
* @since 0.71 * @since 0.71
* *
* @global int $page * @global int $page Page number of a single post/page.
* @global int $more * @global int $more Boolean indicator for whether single post/page is being viewed.
* @global bool $preview * @global bool $preview Whether post/page is in preview mode.
* @global array $pages * @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 * @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. * @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false.

View File

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