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
This commit is contained in:
John Blackbourn 2023-07-07 00:36:22 +00:00
parent bf9257de5f
commit 974d2e18ec
4 changed files with 8 additions and 8 deletions

View File

@ -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 );

View File

@ -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();

View File

@ -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.

View File

@ -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 )
) {