Twenty Seventeen: Document the `$twentyseventeencounter` global.
Follow-up to [38833], [38986], [55003]. See #57069, #56792. Built from https://develop.svn.wordpress.org/trunk@55004 git-svn-id: http://core.svn.wordpress.org/trunk@54537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f2553c0823
commit
53eab18979
|
@ -125,6 +125,7 @@ endif;
|
|||
/**
|
||||
* Display a front page section.
|
||||
*
|
||||
* @global int|string $twentyseventeencounter Front page section counter.
|
||||
* @global WP_Post $post Global post object.
|
||||
*
|
||||
* @param WP_Customize_Partial $partial Partial associated with a selective refresh request.
|
||||
|
|
|
@ -488,9 +488,9 @@ if ( ! function_exists( 'twentythirteen_post_nav' ) ) :
|
|||
/**
|
||||
* Display navigation to next/previous post when applicable.
|
||||
*
|
||||
* @global WP_Post $post Global post object.
|
||||
*
|
||||
* @since Twenty Thirteen 1.0
|
||||
*
|
||||
* @global WP_Post $post Global post object.
|
||||
*/
|
||||
function twentythirteen_post_nav() {
|
||||
global $post;
|
||||
|
|
|
@ -427,9 +427,9 @@ if ( ! function_exists( 'twentytwelve_comment' ) ) :
|
|||
*
|
||||
* Used as a callback by wp_list_comments() for displaying the comments.
|
||||
*
|
||||
* @global WP_Post $post Global post object.
|
||||
*
|
||||
* @since Twenty Twelve 1.0
|
||||
*
|
||||
* @global WP_Post $post Global post object.
|
||||
*/
|
||||
function twentytwelve_comment( $comment, $args, $depth ) {
|
||||
$GLOBALS['comment'] = $comment;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-55003';
|
||||
$wp_version = '6.2-alpha-55004';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue