mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-05 17:50:03 +00:00
Coding Standards: PHP Code style errors.
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
This commit is contained in:
@@ -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 ) { ?>
|
||||
|
||||
Reference in New Issue
Block a user