mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Correct the formatting of various filter documentation.
See #57840 git-svn-id: https://develop.svn.wordpress.org/trunk@56157 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
82302c4ffb
commit
a7de2a8e26
@ -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 );
|
||||
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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 )
|
||||
) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user