Make WordPress Core


Ignore:
Timestamp:
04/28/2022 09:57:51 AM (3 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements for changes introduced in 6.0.

See #54729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/blocks.php

    r53298 r53302  
    11941194
    11951195/**
    1196  * Helper function that returns the proper pagination arrow html for
     1196 * Helper function that returns the proper pagination arrow HTML for
    11971197 * `QueryPaginationNext` and `QueryPaginationPrevious` blocks based
    11981198 * on the provided `paginationArrow` from `QueryPagination` context.
     
    12051205 * @param boolean  $is_next Flag for handling `next/previous` blocks.
    12061206 *
    1207  * @return string|null Returns the constructed WP_Query arguments.
     1207 * @return string|null The pagination arrow HTML or null if there is none.
    12081208 */
    12091209function get_query_pagination_arrow( $block, $is_next ) {
     
    12831283 *
    12841284 * @return array Returns the comment query parameters to use with the
    1285  * WP_Comment_Query constructor.
     1285 *               WP_Comment_Query constructor.
    12861286 */
    12871287function build_comment_query_vars_from_block( $block ) {
     
    13401340
    13411341/**
    1342  * Helper function that returns the proper pagination arrow html for
     1342 * Helper function that returns the proper pagination arrow HTML for
    13431343 * `CommentsPaginationNext` and `CommentsPaginationPrevious` blocks based on the
    13441344 * provided `paginationArrow` from `CommentsPagination` context.
     
    13521352 *                                  Default 'next'. Accepts 'next' or 'previous'.
    13531353 *
    1354  * @return string|null Returns the constructed WP_Query arguments.
     1354 * @return string|null The pagination arrow HTML or null if there is none.
    13551355 */
    13561356function get_comments_pagination_arrow( $block, $pagination_type = 'next' ) {
Note: See TracChangeset for help on using the changeset viewer.