From a835d35ad885f91647814af3a90277fb8f1bbf26 Mon Sep 17 00:00:00 2001 From: Shreyas Ikhar Date: Wed, 29 Apr 2026 16:21:21 +0530 Subject: [PATCH] Docs: Update parameter names in function docblocks for clarity --- src/wp-admin/includes/nav-menu.php | 8 ++++---- src/wp-login.php | 2 +- src/wp-signup.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/includes/nav-menu.php b/src/wp-admin/includes/nav-menu.php index 70263a2034807..5a9850f8be6c6 100644 --- a/src/wp-admin/includes/nav-menu.php +++ b/src/wp-admin/includes/nav-menu.php @@ -97,12 +97,12 @@ function _wp_ajax_menu_quick_search( $request = array() ) { * * @since 6.9.0 * - * @param array $args { + * @param array $query_args { * Menu quick search arguments. * - * @type boolean $no_found_rows Whether to return found rows data. Default true. - * @type boolean $update_post_meta_cache Whether to update post meta cache. Default false. - * @type boolean $update_post_term_cache Whether to update post term cache. Default false. + * @type bool $no_found_rows Whether to return found rows data. Default true. + * @type bool $update_post_meta_cache Whether to update post meta cache. Default false. + * @type bool $update_post_term_cache Whether to update post term cache. Default false. * @type int $posts_per_page Number of posts to return. Default 10. * @type string $post_type Type of post to return. * @type string $s Search query. diff --git a/src/wp-login.php b/src/wp-login.php index abedea82c3589..c8c440a198595 100644 --- a/src/wp-login.php +++ b/src/wp-login.php @@ -344,7 +344,7 @@ function login_footer( $input_id = '' ) { * * @since 5.7.0 * - * @param string $link HTML link to the home URL of the current site. + * @param string $html_link HTML link to the home URL of the current site. */ echo apply_filters( 'login_site_html_link', $html_link ); ?> diff --git a/src/wp-signup.php b/src/wp-signup.php index 50ab624bb8ca8..27f1971996d11 100644 --- a/src/wp-signup.php +++ b/src/wp-signup.php @@ -497,7 +497,7 @@ function validate_another_blog_signup() { * * @since 3.0.0 * - * @param array $meta { + * @param array $meta_defaults { * An array of default site meta variables. * * @type int $lang_id The language ID.