Docs: Correct `$wp_query` global reference in `render_block()`.

See #49927, #49572.
Built from https://develop.svn.wordpress.org/trunk@48226


git-svn-id: http://core.svn.wordpress.org/trunk@47995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-06-30 11:16:00 +00:00
parent 18c5348b2f
commit 345549a412
2 changed files with 8 additions and 8 deletions

View File

@ -650,7 +650,7 @@ function _excerpt_render_inner_columns_blocks( $columns, $allowed_blocks ) {
* @since 5.0.0
*
* @global WP_Post $post The post to edit.
* @global WP_Query $wp_the_query WordPress Query object.
* @global WP_Query $wp_query WordPress Query object.
*
* @param array $parsed_block A single parsed block object.
* @return string String of rendered HTML.
@ -689,8 +689,8 @@ function render_block( $parsed_block ) {
$context['postId'] = $post->ID;
/*
* The `postType` context is largely unnecessary server-side, since the
* ID is usually sufficient on its own. That being said, since a block's
* The `postType` context is largely unnecessary server-side, since the ID
* is usually sufficient on its own. That being said, since a block's
* manifest is expected to be shared between the server and the client,
* it should be included to consistently fulfill the expectation.
*/

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-48225';
$wp_version = '5.5-alpha-48226';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.