Make WordPress Core

Changeset 54883


Ignore:
Timestamp:
11/26/2022 10:16:27 PM (19 months ago)
Author:
audrasjb
Message:

Docs: Add missing parameter descriptions in wp-admin/includes/template.php.

Props mahekkalola, costdev, audrasjb, riccardodicurti.
Fixes #57208.
See #56792.

File:
1 edited

Legend:

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

    r54267 r54883  
    261261 * @since 2.5.1
    262262 *
    263  * @param int $link_id
     263 * @param int $link_id Optional. The link ID. Default 0.
    264264 */
    265265function wp_link_category_checklist( $link_id = 0 ) {
     
    403403 * @global WP_List_Table $wp_list_table
    404404 *
    405  * @param int    $position
    406  * @param bool   $checkbox
    407  * @param string $mode
    408  * @param bool   $table_row
     405 * @param int    $position  Optional. The value of the 'position' input field. Default 1.
     406 * @param bool   $checkbox  Optional. The value of the 'checkbox' input field. Default false.
     407 * @param string $mode      Optional. If set to 'single', will use WP_Post_Comments_List_Table,
     408 *                          otherwise WP_Comments_List_Table. Default 'single'.
     409 * @param bool   $table_row Optional. Whether to use a table instead of a div element. Default true.
    409410 */
    410411function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $table_row = true ) {
     
    566567 * @since 1.2.0
    567568 *
    568  * @param array $meta
     569 * @param array[] $meta An array of meta data arrays keyed on 'meta_key' and 'meta_value'.
    569570 */
    570571function list_meta( $meta ) {
     
    610611 * @since 2.5.0
    611612 *
    612  * @param array $entry
    613  * @param int   $count
    614  * @return string
     613 * @param array $entry An array of meta data keyed on 'meta_key' and 'meta_value'.
     614 * @param int   $count Reference to the row number.
     615 * @return string A single row of public meta data.
    615616 */
    616617function _list_meta_row( $entry, &$count ) {
     
    19701971 * @since 2.7.0
    19711972 *
    1972  * @param string $found_action
     1973 * @param string $found_action Optional. The value of the 'found_action' input field. Default empty string.
    19731974 */
    19741975function find_posts_div( $found_action = '' ) {
Note: See TracChangeset for help on using the changeset viewer.