Skip to content

Commit

Permalink
Coding Standards: PHP Code style errors.
Browse files Browse the repository at this point in the history
Fixes coding standards issues.

Follow up to [52058].

See #43700.

git-svn-id: https://develop.svn.wordpress.org/trunk@52060 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
joedolson committed Nov 8, 2021
1 parent 56ff780 commit 4a77621
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions src/wp-login.php
Expand Up @@ -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">
Expand All @@ -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 ) { ?>
Expand Down

0 comments on commit 4a77621

Please sign in to comment.