Skip to content

Commit a835d35

Browse files
committed
Docs: Update parameter names in function docblocks for clarity
1 parent acebfd0 commit a835d35

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/wp-admin/includes/nav-menu.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ function _wp_ajax_menu_quick_search( $request = array() ) {
9797
*
9898
* @since 6.9.0
9999
*
100-
* @param array $args {
100+
* @param array $query_args {
101101
* Menu quick search arguments.
102102
*
103-
* @type boolean $no_found_rows Whether to return found rows data. Default true.
104-
* @type boolean $update_post_meta_cache Whether to update post meta cache. Default false.
105-
* @type boolean $update_post_term_cache Whether to update post term cache. Default false.
103+
* @type bool $no_found_rows Whether to return found rows data. Default true.
104+
* @type bool $update_post_meta_cache Whether to update post meta cache. Default false.
105+
* @type bool $update_post_term_cache Whether to update post term cache. Default false.
106106
* @type int $posts_per_page Number of posts to return. Default 10.
107107
* @type string $post_type Type of post to return.
108108
* @type string $s Search query.

src/wp-login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ function login_footer( $input_id = '' ) {
344344
*
345345
* @since 5.7.0
346346
*
347-
* @param string $link HTML link to the home URL of the current site.
347+
* @param string $html_link HTML link to the home URL of the current site.
348348
*/
349349
echo apply_filters( 'login_site_html_link', $html_link );
350350
?>

src/wp-signup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ function validate_another_blog_signup() {
497497
*
498498
* @since 3.0.0
499499
*
500-
* @param array $meta {
500+
* @param array $meta_defaults {
501501
* An array of default site meta variables.
502502
*
503503
* @type int $lang_id The language ID.

0 commit comments

Comments
 (0)