mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-05 07:58:35 +01:00
Docs: Various docblock fixes in wp-includes/blocks.php
, as per docs standards.
See #55646. Built from https://develop.svn.wordpress.org/trunk@53859 git-svn-id: http://core.svn.wordpress.org/trunk@53418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ba7b41113c
commit
af08ed758d
@ -803,7 +803,7 @@ function excerpt_remove_blocks( $content ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Render inner blocks from the allowed wrapper blocks
|
* Renders inner blocks from the allowed wrapper blocks
|
||||||
* for generating an excerpt.
|
* for generating an excerpt.
|
||||||
*
|
*
|
||||||
* @since 5.8.0
|
* @since 5.8.0
|
||||||
@ -836,7 +836,7 @@ function _excerpt_render_inner_blocks( $parsed_block, $allowed_blocks ) {
|
|||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @since 5.0.0
|
||||||
*
|
*
|
||||||
* @global WP_Post $post The post to edit.
|
* @global WP_Post $post The post to edit.
|
||||||
*
|
*
|
||||||
* @param array $parsed_block A single parsed block object.
|
* @param array $parsed_block A single parsed block object.
|
||||||
* @return string String of rendered HTML.
|
* @return string String of rendered HTML.
|
||||||
@ -915,7 +915,7 @@ function render_block( $parsed_block ) {
|
|||||||
*/
|
*/
|
||||||
function parse_blocks( $content ) {
|
function parse_blocks( $content ) {
|
||||||
/**
|
/**
|
||||||
* Filter to allow plugins to replace the server-side block parser
|
* Filter to allow plugins to replace the server-side block parser.
|
||||||
*
|
*
|
||||||
* @since 5.0.0
|
* @since 5.0.0
|
||||||
*
|
*
|
||||||
@ -1206,8 +1206,7 @@ function build_query_vars_from_query_block( $block, $page ) {
|
|||||||
* @since 5.9.0
|
* @since 5.9.0
|
||||||
*
|
*
|
||||||
* @param WP_Block $block Block instance.
|
* @param WP_Block $block Block instance.
|
||||||
* @param boolean $is_next Flag for handling `next/previous` blocks.
|
* @param bool $is_next Flag for handling `next/previous` blocks.
|
||||||
*
|
|
||||||
* @return string|null The pagination arrow HTML or null if there is none.
|
* @return string|null The pagination arrow HTML or null if there is none.
|
||||||
*/
|
*/
|
||||||
function get_query_pagination_arrow( $block, $is_next ) {
|
function get_query_pagination_arrow( $block, $is_next ) {
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.1-alpha-53858';
|
$wp_version = '6.1-alpha-53859';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user