Docs: Updates and corrections to various inline docs added in 6.1.

See #55646


git-svn-id: https://develop.svn.wordpress.org/trunk@54284 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-09-21 20:22:53 +00:00
parent eea4277c9e
commit 1af2c8bd7a
7 changed files with 18 additions and 23 deletions

View File

@@ -682,7 +682,7 @@ function wp_update_themes( $extra_stats = array() ) {
* @since 3.7.0
* @since 4.5.0 The default value of the `$locales` parameter changed to include all locales.
*
* @param array $locales Theme locales. Default is all available locales of the site.
* @param string[] $locales Theme locales. Default is all available locales of the site.
*/
$locales = apply_filters( 'themes_update_check_locales', $locales );
$locales = array_unique( $locales );
@@ -788,7 +788,7 @@ function wp_update_themes( $extra_stats = array() ) {
* }
* @param array $theme_data Theme headers.
* @param string $theme_stylesheet Theme stylesheet.
* @param array $locales Installed locales to look up translations for.
* @param string[] $locales Installed locales to look up translations for.
*/
$update = apply_filters( "update_themes_{$hostname}", false, $theme_data, $theme_stylesheet, $locales );