diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php index b834f7b594062..ed93797a64faf 100644 --- a/src/wp-admin/comment.php +++ b/src/wp-admin/comment.php @@ -372,8 +372,8 @@ * * @since 2.1.0 * - * @param string $location The URI the user will be redirected to. - * @param int $comment_id The ID of the comment being edited. + * @param string $location The URI the user will be redirected to. + * @param int $comment_id The ID of the comment being edited. */ $location = apply_filters( 'comment_edit_redirect', $location, $comment_id ); diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php index cd9426c6ef88b..aa4db87effc2a 100644 --- a/src/wp-admin/includes/class-wp-automatic-updater.php +++ b/src/wp-admin/includes/class-wp-automatic-updater.php @@ -170,10 +170,10 @@ public function is_vcs_checkout( $context ) { * * @since 3.7.0 * - * @param bool $checkout Whether a VCS checkout was discovered at `$context` - * or ABSPATH, or anywhere higher. - * @param string $context The filesystem context (a path) against which - * filesystem status should be checked. + * @param bool $checkout Whether a VCS checkout was discovered at `$context` + * or ABSPATH, or anywhere higher. + * @param string $context The filesystem context (a path) against which + * filesystem status should be checked. */ return apply_filters( 'automatic_updates_is_vcs_checkout', $checkout, $context ); } @@ -1130,7 +1130,7 @@ protected function send_email( $type, $core_update, $result = null ) { * * @since 3.7.0 * - * @param array $email { + * @param array $email { * Array of email arguments that will be passed to wp_mail(). * * @type string $to The email recipient. An array of emails diff --git a/src/wp-admin/includes/class-wp-community-events.php b/src/wp-admin/includes/class-wp-community-events.php index a31b3651b9a1c..d6a0c8161add9 100644 --- a/src/wp-admin/includes/class-wp-community-events.php +++ b/src/wp-admin/includes/class-wp-community-events.php @@ -39,7 +39,7 @@ class WP_Community_Events { * * @since 4.8.0 * - * @param int $user_id WP user ID. + * @param int $user_id WP user ID. * @param false|array $user_location { * Stored location data for the user. false to pass no location. * diff --git a/src/wp-admin/includes/class-wp-internal-pointers.php b/src/wp-admin/includes/class-wp-internal-pointers.php index 9a2135b5279fd..22233884b4beb 100644 --- a/src/wp-admin/includes/class-wp-internal-pointers.php +++ b/src/wp-admin/includes/class-wp-internal-pointers.php @@ -109,8 +109,8 @@ public static function enqueue_scripts( $hook_suffix ) { * @since 3.3.0 * * @param string $pointer_id The pointer ID. - * @param string $selector The HTML elements, on which the pointer should be attached. - * @param array $args Arguments to be passed to the pointer JS (see wp-pointer.js). + * @param string $selector The HTML elements, on which the pointer should be attached. + * @param array $args Arguments to be passed to the pointer JS (see wp-pointer.js). */ private static function print_js( $pointer_id, $selector, $args ) { if ( empty( $pointer_id ) || empty( $selector ) || empty( $args ) || empty( $args['content'] ) ) { diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php index 5e6bcdb0d237c..2f9039261c803 100644 --- a/src/wp-admin/includes/class-wp-list-table.php +++ b/src/wp-admin/includes/class-wp-list-table.php @@ -729,7 +729,7 @@ protected function months_dropdown( $post_type ) { * * @since 5.7.0 * - * @param object[]|false $months 'Months' drop-down results. Default false. + * @param object[]|false $months 'Months' drop-down results. Default false. * @param string $post_type The post type. */ $months = apply_filters( 'pre_months_dropdown_query', false, $post_type ); diff --git a/src/wp-admin/includes/class-wp-posts-list-table.php b/src/wp-admin/includes/class-wp-posts-list-table.php index 8a319986766b8..ae850496eb96e 100644 --- a/src/wp-admin/includes/class-wp-posts-list-table.php +++ b/src/wp-admin/includes/class-wp-posts-list-table.php @@ -1854,7 +1854,7 @@ public function inline_edit() { * @see wp_dropdown_users() * * @param array $users_opt An array of arguments passed to wp_dropdown_users(). - * @param bool $bulk A flag to denote if it's a bulk action. + * @param bool $bulk A flag to denote if it's a bulk action. */ $users_opt = apply_filters( 'quick_edit_dropdown_authors_args', $users_opt, $bulk ); diff --git a/src/wp-admin/includes/class-wp-site-health-auto-updates.php b/src/wp-admin/includes/class-wp-site-health-auto-updates.php index 1904acd4e08c5..3c0c8b3844b22 100644 --- a/src/wp-admin/includes/class-wp-site-health-auto-updates.php +++ b/src/wp-admin/includes/class-wp-site-health-auto-updates.php @@ -63,9 +63,9 @@ static function ( $test ) { * @since 5.2.0 * @since 5.5.1 The `$value` parameter can accept an array. * - * @param string $constant The name of the constant to check. - * @param bool|string|array $value The value that the constant should be, if set, - * or an array of acceptable values. + * @param string $constant The name of the constant to check. + * @param bool|string|array $value The value that the constant should be, if set, + * or an array of acceptable values. * @return array|null The test results if there are any constants set incorrectly, * or null if the test passed. */ diff --git a/src/wp-admin/includes/class-wp-terms-list-table.php b/src/wp-admin/includes/class-wp-terms-list-table.php index 561888fed8394..9481f0967a744 100644 --- a/src/wp-admin/includes/class-wp-terms-list-table.php +++ b/src/wp-admin/includes/class-wp-terms-list-table.php @@ -395,8 +395,8 @@ public function column_name( $tag ) { * * @see WP_Terms_List_Table::column_name() * - * @param string $pad_tag_name The term name, padded if not top-level. - * @param WP_Term $tag Term object. + * @param string $pad_tag_name The term name, padded if not top-level. + * @param WP_Term $tag Term object. */ $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag ); diff --git a/src/wp-admin/includes/file.php b/src/wp-admin/includes/file.php index 8c0015020f35d..25da20199e385 100644 --- a/src/wp-admin/includes/file.php +++ b/src/wp-admin/includes/file.php @@ -1311,7 +1311,7 @@ function download_url( $url, $timeout = 300, $signature_verification = false ) { * @since 5.2.0 * * @param false|string $signature_url The URL where signatures can be found for a file, or false if none are known. - * @param string $url The URL being verified. + * @param string $url The URL being verified. */ $signature_url = apply_filters( 'wp_signature_url', $signature_url, $url ); diff --git a/src/wp-admin/includes/list-table.php b/src/wp-admin/includes/list-table.php index 1e2c190c80fe9..97dfe4f858c7e 100644 --- a/src/wp-admin/includes/list-table.php +++ b/src/wp-admin/includes/list-table.php @@ -84,7 +84,7 @@ function _get_list_table( $class_name, $args = array() ) { * * @since 2.7.0 * - * @param string $screen The handle for the screen to register column headers for. This is + * @param string $screen The handle for the screen to register column headers for. This is * usually the hook name returned by the `add_*_page()` functions. * @param string[] $columns An array of columns with column IDs as the keys and translated * column names as the values. diff --git a/src/wp-admin/includes/media.php b/src/wp-admin/includes/media.php index 6c50a1daba4fd..f52c12d1f9a9d 100644 --- a/src/wp-admin/includes/media.php +++ b/src/wp-admin/includes/media.php @@ -3549,7 +3549,7 @@ function attachment_submitbox_metadata() { * @since 3.6.0 * * @param array $metadata An existing array with data. - * @param array $data Data supplied by ID3 tags. + * @param array $data Data supplied by ID3 tags. */ function wp_add_id3_tag_data( &$metadata, $data ) { foreach ( array( 'id3v2', 'id3v1' ) as $version ) { diff --git a/src/wp-admin/includes/plugin-install.php b/src/wp-admin/includes/plugin-install.php index dc232f1df7018..62e93a36eef5d 100644 --- a/src/wp-admin/includes/plugin-install.php +++ b/src/wp-admin/includes/plugin-install.php @@ -895,15 +895,15 @@ function install_plugin_information() { * @since 6.5.0 * * @param string $name Plugin name. - * @param array|object $data { + * @param array|object $data { * An array or object of plugin data. Can be retrieved from the API. * * @type string $slug The plugin slug. * @type string[] $requires_plugins An array of plugin dependency slugs. * @type string $version The plugin's version string. Used when getting the install status. * } - * @param bool $compatible_php The result of a PHP compatibility check. - * @param bool $compatible_wp The result of a WP compatibility check. + * @param bool $compatible_php The result of a PHP compatibility check. + * @param bool $compatible_wp The result of a WP compatibility check. * @return string The markup for the dependency row button. An empty string if the user does not have capabilities. */ function wp_get_plugin_action_button( $name, $data, $compatible_php, $compatible_wp ) { diff --git a/src/wp-admin/includes/plugin.php b/src/wp-admin/includes/plugin.php index 94d4a585a80f1..9969316ab8d58 100644 --- a/src/wp-admin/includes/plugin.php +++ b/src/wp-admin/includes/plugin.php @@ -1264,7 +1264,7 @@ function validate_plugin_requirements( $plugin ) { * @since 6.9.0 * * @param bool|WP_Error $met_requirements True if the plugin meets requirements, WP_Error if not. - * @param string $plugin Path to the plugin file relative to the plugins directory. + * @param string $plugin Path to the plugin file relative to the plugins directory. */ return apply_filters( 'validate_plugin_requirements', true, $plugin ); } diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index 39d267b623037..5c4537d89722f 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -2607,7 +2607,7 @@ function the_block_editor_meta_box_post_form_hidden_fields( $post ) { * @since 5.9.0 * @access private * - * @param bool $value Whether the CPT supports block editor or not. + * @param bool $value Whether the CPT supports block editor or not. * @param string $post_type Post type. * @return bool Whether the block editor should be disabled or not. */ diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php index 418bfd7def697..a5620735aa0b1 100644 --- a/src/wp-admin/includes/template.php +++ b/src/wp-admin/includes/template.php @@ -1808,7 +1808,7 @@ function do_settings_sections( $page ) { * * @global array $wp_settings_fields Storage array of settings fields and their pages/sections. * - * @param string $page Slug title of the admin page whose settings fields you want to show. + * @param string $page Slug title of the admin page whose settings fields you want to show. * @param string $section Slug title of the settings section whose fields you want to show. */ function do_settings_fields( $page, $section ) { diff --git a/src/wp-admin/includes/theme.php b/src/wp-admin/includes/theme.php index ef5793b7dd118..5ee488536ede2 100644 --- a/src/wp-admin/includes/theme.php +++ b/src/wp-admin/includes/theme.php @@ -157,7 +157,7 @@ function get_page_templates( $post = null, $post_type = 'page' ) { * @since 2.9.0 * @access private * - * @param string $fullpath Full path to the theme file + * @param string $fullpath Full path to the theme file * @param string $containingfolder Path of the theme parent folder * @return string */ diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 914113bde00d0..a8db7bb375ea2 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -621,7 +621,7 @@ function wp_new_blog_notification( * * @since 5.6.0 * - * @param array $installed_email { + * @param array $installed_email { * Used to build wp_mail(). * * @type string $to The email address of the recipient. @@ -629,11 +629,11 @@ function wp_new_blog_notification( * @type string $message The content of the email. * @type string $headers Headers. * } - * @param WP_User $user The site administrator user object. - * @param string $blog_title The site title. - * @param string $blog_url The site URL. - * @param string $password The site administrator's password. Note that a placeholder message - * is usually passed instead of the user's actual password. + * @param WP_User $user The site administrator user object. + * @param string $blog_title The site title. + * @param string $blog_url The site URL. + * @param string $password The site administrator's password. Note that a placeholder message + * is usually passed instead of the user's actual password. */ $installed_email = apply_filters( 'wp_installed_email', $installed_email, $user, $blog_title, $blog_url, $password ); diff --git a/src/wp-admin/includes/user.php b/src/wp-admin/includes/user.php index 2aeeba0b035b4..c6c08c4eaf76c 100644 --- a/src/wp-admin/includes/user.php +++ b/src/wp-admin/includes/user.php @@ -169,8 +169,8 @@ function edit_user( $user_id = 0 ) { * @since 1.5.1 * * @param string $user_login The username. - * @param string $pass1 The password (passed by reference). - * @param string $pass2 The confirmed password (passed by reference). + * @param string $pass1 The password (passed by reference). + * @param string $pass2 The confirmed password (passed by reference). */ do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) ); @@ -717,7 +717,7 @@ function wp_is_authorize_application_redirect_url_valid( $url ) { * @since 6.3.2 * * @param string[] $bad_protocols Array of invalid protocols. - * @param string $url The redirect URL to be validated. + * @param string $url The redirect URL to be validated. */ $invalid_protocols = apply_filters( 'wp_authorize_application_redirect_url_invalid_protocols', $bad_protocols, $url ); $invalid_protocols = array_map( 'strtolower', $invalid_protocols ); diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 5d45c63801bfe..8055de6b36385 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -931,7 +931,7 @@ * * @since 2.8.0 * - * @param bool $enable Whether to display the capabilities. Default true. + * @param bool $enable Whether to display the capabilities. Default true. * @param WP_User $profile_user The current WP_User object. */ $display_additional_caps = apply_filters( 'additional_capabilities_display', true, $profile_user ); diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php index 3136705f60a03..453a0de54fa55 100644 --- a/src/wp-admin/user-new.php +++ b/src/wp-admin/user-new.php @@ -154,7 +154,7 @@ * * @since 5.6.0 * - * @param array $new_user_email { + * @param array $new_user_email { * Used to build wp_mail(). * * @type string $to The email address of the invited user. @@ -162,9 +162,9 @@ * @type string $message The content of the email. * @type string $headers Headers. * } - * @param int $user_id The invited user's ID. - * @param array $role Array containing role information for the invited user. - * @param string $newuser_key The key of the invitation. + * @param int $user_id The invited user's ID. + * @param array $role Array containing role information for the invited user. + * @param string $newuser_key The key of the invitation. * */ $new_user_email = apply_filters( 'invited_user_email', $new_user_email, $user_id, $role, $newuser_key ); diff --git a/src/wp-admin/widgets-form-blocks.php b/src/wp-admin/widgets-form-blocks.php index f854891cb8815..2db8fb404830b 100644 --- a/src/wp-admin/widgets-form-blocks.php +++ b/src/wp-admin/widgets-form-blocks.php @@ -121,7 +121,7 @@ * * @since 6.4.0 * - * @param string $message The message being displayed. + * @param string $message The message being displayed. * @param bool $installed Whether the Classic Widget plugin is installed. */ $message = apply_filters( 'block_widgets_no_javascript_message', $message, $installed ); diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php index 77e5935f11245..6771117ab3251 100644 --- a/src/wp-content/themes/twentyfourteen/functions.php +++ b/src/wp-content/themes/twentyfourteen/functions.php @@ -680,7 +680,7 @@ function twentyfourteen_post_classes( $classes ) { * @global int $page Page number of a single post. * * @param string $title Default title text for current view. - * @param string $sep Optional separator. + * @param string $sep Optional separator. * @return string The filtered title. */ function twentyfourteen_wp_title( $title, $sep ) { diff --git a/src/wp-content/themes/twentytwelve/functions.php b/src/wp-content/themes/twentytwelve/functions.php index 877da5a297efb..a6c3300bb45b2 100644 --- a/src/wp-content/themes/twentytwelve/functions.php +++ b/src/wp-content/themes/twentytwelve/functions.php @@ -309,7 +309,7 @@ function twentytwelve_mce_css( $mce_css ) { * @global int $page Page number of a single post. * * @param string $title Default title text for current view. - * @param string $sep Optional separator. + * @param string $sep Optional separator. * @return string Filtered title. */ function twentytwelve_wp_title( $title, $sep ) { diff --git a/src/wp-includes/block-supports/layout.php b/src/wp-includes/block-supports/layout.php index 3be4f07b055ea..749ccf9d0804b 100644 --- a/src/wp-includes/block-supports/layout.php +++ b/src/wp-includes/block-supports/layout.php @@ -1530,7 +1530,7 @@ static function ( $matches ) { * @access private * * @param string $block_content Rendered block content. - * @param array $block Block object. + * @param array $block Block object. * @return string Filtered block content. */ function wp_restore_image_outer_container( $block_content, $block ) { diff --git a/src/wp-includes/block-supports/settings.php b/src/wp-includes/block-supports/settings.php index 2af6f865f76b3..9cf253defc15b 100644 --- a/src/wp-includes/block-supports/settings.php +++ b/src/wp-includes/block-supports/settings.php @@ -69,8 +69,8 @@ function _wp_add_block_level_presets_class( $block_content, $block ) { * @since 6.3.0 Updated preset styles to use Selectors API. * @access private * - * @param string|null $pre_render The pre-rendered content. Default null. - * @param array $block The block being rendered. + * @param string|null $pre_render The pre-rendered content. Default null. + * @param array $block The block being rendered. * @return null */ function _wp_add_block_level_preset_styles( $pre_render, $block ) { diff --git a/src/wp-includes/block-template-utils.php b/src/wp-includes/block-template-utils.php index 2d23f8545e87f..3a0d0065cbab4 100644 --- a/src/wp-includes/block-template-utils.php +++ b/src/wp-includes/block-template-utils.php @@ -1114,7 +1114,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) * * @param WP_Block_Template[]|null $block_templates Return an array of block templates to short-circuit the default query, * or null to allow WP to run its normal queries. - * @param array $query { + * @param array $query { * Arguments to retrieve templates. All arguments are optional. * * @type string[] $slug__in List of slugs to include. @@ -1122,7 +1122,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) * @type string $area A 'wp_template_part_area' taxonomy value to filter by (for 'wp_template_part' template type only). * @type string $post_type Post type to get the templates for. * } - * @param string $template_type Template type. Either 'wp_template' or 'wp_template_part'. + * @param string $template_type Template type. Either 'wp_template' or 'wp_template_part'. */ $templates = apply_filters( 'pre_get_block_templates', null, $query, $template_type ); if ( ! is_null( $templates ) ) { @@ -1263,7 +1263,7 @@ function ( $template ) { * * @since 5.9.0 * - * @param WP_Block_Template[] $query_result Array of found block templates. + * @param WP_Block_Template[] $query_result Array of found block templates. * @param array $query { * Arguments to retrieve templates. All arguments are optional. * diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index 4a048c80baf3e..c1da742cf3ce2 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -1258,13 +1258,13 @@ function apply_block_hooks_to_content( $content, $context = null, $callback = 'i * @since 7.0.0 Added the `$ignored_hooked_blocks_at_root` parameter. * @access private * - * @param string $content Serialized content. - * @param WP_Post|null $post A post object that the content belongs to. If set to `null`, - * `get_post()` will be called to use the current post as context. - * Default: `null`. - * @param callable $callback A function that will be called for each block to generate - * the markup for a given list of blocks that are hooked to it. - * Default: 'insert_hooked_blocks'. + * @param string $content Serialized content. + * @param WP_Post|null $post A post object that the content belongs to. If set to `null`, + * `get_post()` will be called to use the current post as context. + * Default: `null`. + * @param callable $callback A function that will be called for each block to generate + * the markup for a given list of blocks that are hooked to it. + * Default: 'insert_hooked_blocks'. * @param array|null $ignored_hooked_blocks_at_root A reference to an array that will be populated * with the ignored hooked blocks at the root level. * Default: `null`. diff --git a/src/wp-includes/blocks/accordion.php b/src/wp-includes/blocks/accordion.php index 537904a6e402d..a840fe7dfed69 100644 --- a/src/wp-includes/blocks/accordion.php +++ b/src/wp-includes/blocks/accordion.php @@ -5,8 +5,8 @@ * @package WordPress * @since 6.9.0 * - * @param array $attributes The block attributes. - * @param string $content The block content. + * @param array $attributes The block attributes. + * @param string $content The block content. * * @return string Returns the updated markup. */ diff --git a/src/wp-includes/blocks/heading.php b/src/wp-includes/blocks/heading.php index 471e31f19f2ee..b712e9b631670 100644 --- a/src/wp-includes/blocks/heading.php +++ b/src/wp-includes/blocks/heading.php @@ -17,7 +17,7 @@ * @since 6.2.0 * * @param array $attributes Attributes of the block being rendered. - * @param string $content Content of the block being rendered. + * @param string $content Content of the block being rendered. * * @return string The content of the block being rendered. */ diff --git a/src/wp-includes/blocks/list.php b/src/wp-includes/blocks/list.php index 1bffd81324857..5a5aecfb28078 100644 --- a/src/wp-includes/blocks/list.php +++ b/src/wp-includes/blocks/list.php @@ -15,7 +15,7 @@ * @see https://github.com/WordPress/gutenberg/issues/12420 * * @param array $attributes Attributes of the block being rendered. - * @param string $content Content of the block being rendered. + * @param string $content Content of the block being rendered. * * @return string The content of the block being rendered. */ diff --git a/src/wp-includes/blocks/navigation-link.php b/src/wp-includes/blocks/navigation-link.php index b7c76b2f6e600..6e04703229553 100644 --- a/src/wp-includes/blocks/navigation-link.php +++ b/src/wp-includes/blocks/navigation-link.php @@ -304,7 +304,7 @@ function render_block_core_navigation_link( $attributes, $content, $block ) { * @since 5.9.0 * * @param WP_Taxonomy|WP_Post_Type $entity post type or taxonomy entity. - * @param string $kind string of value 'taxonomy' or 'post-type'. + * @param string $kind string of value 'taxonomy' or 'post-type'. * * @return array */ diff --git a/src/wp-includes/blocks/navigation.php b/src/wp-includes/blocks/navigation.php index fcb8f5f97af8e..ed58a7b7ebfb8 100644 --- a/src/wp-includes/blocks/navigation.php +++ b/src/wp-includes/blocks/navigation.php @@ -411,7 +411,7 @@ private static function disable_overlay_menu_for_nested_navigation_blocks( $bloc * @since 6.5.0 * * @param string $overlay_template_part_id The overlay template part ID in format "theme//slug". - * @param array $attributes The block attributes. + * @param array $attributes The block attributes. * @return WP_Block_List Returns the inner blocks for the overlay template part. */ private static function get_overlay_blocks_from_template_part( $overlay_template_part_id, $attributes ) { @@ -512,7 +512,7 @@ private static function get_overlay_blocks_from_template_part( $overlay_template * @since 6.5.0 * * @param array $attributes The block attributes. - * @param WP_Block $block The parsed block. + * @param WP_Block $block The parsed block. * @return WP_Block_List Returns the inner blocks for the navigation block. */ private static function get_inner_blocks( $attributes, $block ) { @@ -682,8 +682,8 @@ private static function get_styles( $attributes ) { * @since 7.0.0 * * @param bool $is_hidden_by_default Whether the responsive menu is hidden by default. - * @param bool $has_custom_overlay Whether a custom overlay is used. - * @param array $colors The colors array. + * @param bool $has_custom_overlay Whether a custom overlay is used. + * @param array $colors The colors array. * @return array Returns the responsive container classes. */ private static function get_responsive_container_classes( $is_hidden_by_default, $has_custom_overlay, $colors ) { @@ -722,8 +722,8 @@ private static function get_overlay_inline_styles( $has_custom_overlay, $colors * * @since 6.5.0 * - * @param array $attributes The block attributes. - * @param WP_Block_List $inner_blocks The list of inner blocks. + * @param array $attributes The block attributes. + * @param WP_Block_List $inner_blocks The list of inner blocks. * @param string $inner_blocks_html The markup for the inner blocks. * @return string Returns the container markup. */ @@ -961,7 +961,7 @@ private static function handle_view_script_module_loading( $attributes, $block, * * @since 6.5.0 * - * @param array $attributes The block attributes. + * @param array $attributes The block attributes. * @param WP_Block_List $inner_blocks The list of inner blocks. * @return string Returns the navigation wrapper markup. */ diff --git a/src/wp-includes/blocks/page-list.php b/src/wp-includes/blocks/page-list.php index 0c3109897cfc7..cb0138e618a31 100644 --- a/src/wp-includes/blocks/page-list.php +++ b/src/wp-includes/blocks/page-list.php @@ -128,14 +128,14 @@ function block_core_page_list_build_css_colors( $attributes, $context ) { * * @since 5.8.0 * - * @param string $submenu_visibility The submenu visibility mode: 'hover', 'click', or 'always'. - * @param boolean $show_submenu_icons Whether to show submenu indicator icons. - * @param boolean $is_navigation_child If block is a child of Navigation block. - * @param array $nested_pages The array of nested pages. - * @param boolean $is_nested Whether the submenu is nested or not. + * @param string $submenu_visibility The submenu visibility mode: 'hover', 'click', or 'always'. + * @param boolean $show_submenu_icons Whether to show submenu indicator icons. + * @param boolean $is_navigation_child If block is a child of Navigation block. + * @param array $nested_pages The array of nested pages. + * @param boolean $is_nested Whether the submenu is nested or not. * @param array $active_page_ancestor_ids An array of ancestor ids for active page. - * @param array $colors Color information for overlay styles. - * @param integer $depth The nesting depth. + * @param array $colors Color information for overlay styles. + * @param integer $depth The nesting depth. * * @return string List markup. */ @@ -227,7 +227,7 @@ function block_core_page_list_render_nested_page_list( $submenu_visibility, $sho * @since 5.8.0 * * @param array $current_level The level being iterated through. - * @param array $children The children grouped by parent post ID. + * @param array $children The children grouped by parent post ID. * * @return array The nested array of pages. */ diff --git a/src/wp-includes/blocks/social-link.php b/src/wp-includes/blocks/social-link.php index 0225a14d7beb5..d54af463a49b5 100644 --- a/src/wp-includes/blocks/social-link.php +++ b/src/wp-includes/blocks/social-link.php @@ -131,7 +131,7 @@ function block_core_social_link_get_name( $service ) { * @since 5.4.0 * * @param string $service The service slug to extract data from. - * @param string $field The field ('name', 'icon', etc) to extract for a service. + * @param string $field The field ('name', 'icon', etc) to extract for a service. * * @return array|string */ diff --git a/src/wp-includes/blocks/widget-group.php b/src/wp-includes/blocks/widget-group.php index e8769612a2f17..72e9ac3d04331 100644 --- a/src/wp-includes/blocks/widget-group.php +++ b/src/wp-includes/blocks/widget-group.php @@ -14,8 +14,8 @@ * @global int|string $_sidebar_being_rendered * * @param array $attributes The block attributes. - * @param string $content The block content. - * @param WP_Block $block The block. + * @param string $content The block content. + * @param WP_Block $block The block. * * @return string Rendered block. */ diff --git a/src/wp-includes/class-walker-nav-menu.php b/src/wp-includes/class-walker-nav-menu.php index 3d9f442bb8e87..8047047757cea 100644 --- a/src/wp-includes/class-walker-nav-menu.php +++ b/src/wp-includes/class-walker-nav-menu.php @@ -99,13 +99,13 @@ public function start_lvl( &$output, $depth = 0, $args = null ) { * * @since 6.3.0 * - * @param array $atts { + * @param array $atts { * The HTML attributes applied to the `