mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Various docblock fixes in wp-includes/blocks.php, as per docs standards.
See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@53859 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
*
|
||||
* @since 5.8.0
|
||||
@@ -836,7 +836,7 @@ function _excerpt_render_inner_blocks( $parsed_block, $allowed_blocks ) {
|
||||
*
|
||||
* @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.
|
||||
* @return string String of rendered HTML.
|
||||
@@ -915,7 +915,7 @@ function render_block( $parsed_block ) {
|
||||
*/
|
||||
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
|
||||
*
|
||||
@@ -1206,8 +1206,7 @@ function build_query_vars_from_query_block( $block, $page ) {
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
function get_query_pagination_arrow( $block, $is_next ) {
|
||||
|
||||
Reference in New Issue
Block a user