mirror of
https://github.com/WordPress/WordPress.git
synced 2024-06-25 22:35:02 +02:00
Docs: Add missing parameter descriptions in wp-admin/includes/template.php
.
Props mahekkalola, costdev, audrasjb, riccardodicurti. Fixes #57208. See #56792. Built from https://develop.svn.wordpress.org/trunk@54883 git-svn-id: http://core.svn.wordpress.org/trunk@54435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30e6820f0e
commit
9666402c47
|
@ -260,7 +260,7 @@ function wp_popular_terms_checklist( $taxonomy, $default_term = 0, $number = 10,
|
|||
*
|
||||
* @since 2.5.1
|
||||
*
|
||||
* @param int $link_id
|
||||
* @param int $link_id Optional. The link ID. Default 0.
|
||||
*/
|
||||
function wp_link_category_checklist( $link_id = 0 ) {
|
||||
$default = 1;
|
||||
|
@ -402,10 +402,11 @@ function get_inline_data( $post ) {
|
|||
*
|
||||
* @global WP_List_Table $wp_list_table
|
||||
*
|
||||
* @param int $position
|
||||
* @param bool $checkbox
|
||||
* @param string $mode
|
||||
* @param bool $table_row
|
||||
* @param int $position Optional. The value of the 'position' input field. Default 1.
|
||||
* @param bool $checkbox Optional. The value of the 'checkbox' input field. Default false.
|
||||
* @param string $mode Optional. If set to 'single', will use WP_Post_Comments_List_Table,
|
||||
* otherwise WP_Comments_List_Table. Default 'single'.
|
||||
* @param bool $table_row Optional. Whether to use a table instead of a div element. Default true.
|
||||
*/
|
||||
function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $table_row = true ) {
|
||||
global $wp_list_table;
|
||||
|
@ -565,7 +566,7 @@ function wp_comment_trashnotice() {
|
|||
*
|
||||
* @since 1.2.0
|
||||
*
|
||||
* @param array $meta
|
||||
* @param array[] $meta An array of meta data arrays keyed on 'meta_key' and 'meta_value'.
|
||||
*/
|
||||
function list_meta( $meta ) {
|
||||
// Exit if no meta.
|
||||
|
@ -609,9 +610,9 @@ function list_meta( $meta ) {
|
|||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @param array $entry
|
||||
* @param int $count
|
||||
* @return string
|
||||
* @param array $entry An array of meta data keyed on 'meta_key' and 'meta_value'.
|
||||
* @param int $count Reference to the row number.
|
||||
* @return string A single row of public meta data.
|
||||
*/
|
||||
function _list_meta_row( $entry, &$count ) {
|
||||
static $update_nonce = '';
|
||||
|
@ -1969,7 +1970,7 @@ function settings_errors( $setting = '', $sanitize = false, $hide_on_update = fa
|
|||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param string $found_action
|
||||
* @param string $found_action Optional. The value of the 'found_action' input field. Default empty string.
|
||||
*/
|
||||
function find_posts_div( $found_action = '' ) {
|
||||
?>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-54882';
|
||||
$wp_version = '6.2-alpha-54883';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue
Block a user