From 974d2e18ec31eeae1c093abf6cf4186461dee17b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 7 Jul 2023 00:36:22 +0000 Subject: [PATCH] Docs: Correct the formatting of various filter documentation. See #57840 Built from https://develop.svn.wordpress.org/trunk@56157 git-svn-id: http://core.svn.wordpress.org/trunk@55669 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/image-edit.php | 2 +- wp-includes/class-wp-theme-json-resolver.php | 8 ++++---- wp-includes/version.php | 2 +- wp-login.php | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php index 7ceb642a07..d7f609c169 100644 --- a/wp-admin/includes/image-edit.php +++ b/wp-admin/includes/image-edit.php @@ -49,7 +49,7 @@ function wp_image_editor( $post_id, $msg = false ) { * * @since 6.3.0 * - * @param bool Whether to show the settings in the Image Editor. Default false. + * @param bool $show Whether to show the settings in the Image Editor. Default false. */ $edit_thumbnails_separately = (bool) apply_filters( 'image_edit_thumbnails_separately', false ); diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index cce1cbba6a..4eefba0e82 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -170,7 +170,7 @@ class WP_Theme_JSON_Resolver { * * @since 6.1.0 * - * @param WP_Theme_JSON_Data Class to access and update the underlying data. + * @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data. */ $theme_json = apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data( $config, 'default' ) ); $config = $theme_json->get_data(); @@ -252,7 +252,7 @@ class WP_Theme_JSON_Resolver { * * @since 6.1.0 * - * @param WP_Theme_JSON_Data Class to access and update the underlying data. + * @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data. */ $theme_json = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data( $theme_json_data, 'theme' ) ); $theme_json_data = $theme_json->get_data(); @@ -369,7 +369,7 @@ class WP_Theme_JSON_Resolver { * * @since 6.1.0 * - * @param WP_Theme_JSON_Data Class to access and update the underlying data. + * @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data. */ $theme_json = apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data( $config, 'blocks' ) ); $config = $theme_json->get_data(); @@ -505,7 +505,7 @@ class WP_Theme_JSON_Resolver { * * @since 6.1.0 * - * @param WP_Theme_JSON_Data Class to access and update the underlying data. + * @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data. */ $theme_json = apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data( $config, 'custom' ) ); $config = $theme_json->get_data(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 228b2b41b0..a0990304d7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-beta3-56156'; +$wp_version = '6.3-beta3-56157'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-login.php b/wp-login.php index 932a6a1144..f0de91a102 100644 --- a/wp-login.php +++ b/wp-login.php @@ -315,11 +315,11 @@ function login_footer( $input_id = '' ) { if ( ! $interim_login && /** - * Filters the Languages select input activation on the login screen. + * Filters whether to display the Language selector on the login screen. * * @since 5.9.0 * - * @param bool Whether to display the Languages select input on the login screen. + * @param bool $display Whether to display the Language selector on the login screen. */ apply_filters( 'login_display_language_dropdown', true ) ) {