Coding Standards: PHP Code style errors.

Fixes coding standards issues.

Follow up to [52058].

See #43700.
Built from https://develop.svn.wordpress.org/trunk@52060


git-svn-id: http://core.svn.wordpress.org/trunk@51652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2021-11-08 23:03:58 +00:00
parent 975f56e42b
commit a308811553
2 changed files with 19 additions and 18 deletions

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.9-alpha-52059';
$wp_version = '5.9-alpha-52060';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -314,7 +314,8 @@ function login_footer( $input_id = '' ) {
<?php
$languages = get_available_languages();
if ( ! empty( $languages ) && ! $interim_login ) { ?>
if ( ! empty( $languages ) && ! $interim_login ) {
?>
<div class="language-switcher">
<form id="language-switcher" action="" method="get">
@ -325,23 +326,23 @@ function login_footer( $input_id = '' ) {
</label>
<?php
$args = array(
'id' => 'language-switcher-locales',
'name' => 'wp_lang',
'selected' => determine_locale(),
'show_available_translations' => false,
'explicit_option_en_us' => true,
'languages' => $languages,
);
$args = array(
'id' => 'language-switcher-locales',
'name' => 'wp_lang',
'selected' => determine_locale(),
'show_available_translations' => false,
'explicit_option_en_us' => true,
'languages' => $languages,
);
/**
* Filters default arguments for the Languages select input on the login screen.
*
* @since 5.9.0
*
* @param array $args Arguments for the Languages select input on the login screen.
*/
wp_dropdown_languages( apply_filters( 'wp_login_language_switcher_args', $args ) );
/**
* Filters default arguments for the Languages select input on the login screen.
*
* @since 5.9.0
*
* @param array $args Arguments for the Languages select input on the login screen.
*/
wp_dropdown_languages( apply_filters( 'wp_login_language_switcher_args', $args ) );
?>
<?php if ( $interim_login ) { ?>