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:
parent
975f56e42b
commit
a308811553
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
35
wp-login.php
35
wp-login.php
|
@ -314,7 +314,8 @@ function login_footer( $input_id = '' ) {
|
||||||
<?php
|
<?php
|
||||||
$languages = get_available_languages();
|
$languages = get_available_languages();
|
||||||
|
|
||||||
if ( ! empty( $languages ) && ! $interim_login ) { ?>
|
if ( ! empty( $languages ) && ! $interim_login ) {
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="language-switcher">
|
<div class="language-switcher">
|
||||||
<form id="language-switcher" action="" method="get">
|
<form id="language-switcher" action="" method="get">
|
||||||
|
@ -325,23 +326,23 @@ function login_footer( $input_id = '' ) {
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$args = array(
|
$args = array(
|
||||||
'id' => 'language-switcher-locales',
|
'id' => 'language-switcher-locales',
|
||||||
'name' => 'wp_lang',
|
'name' => 'wp_lang',
|
||||||
'selected' => determine_locale(),
|
'selected' => determine_locale(),
|
||||||
'show_available_translations' => false,
|
'show_available_translations' => false,
|
||||||
'explicit_option_en_us' => true,
|
'explicit_option_en_us' => true,
|
||||||
'languages' => $languages,
|
'languages' => $languages,
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filters default arguments for the Languages select input on the login screen.
|
* Filters default arguments for the Languages select input on the login screen.
|
||||||
*
|
*
|
||||||
* @since 5.9.0
|
* @since 5.9.0
|
||||||
*
|
*
|
||||||
* @param array $args Arguments for the Languages select input on the login screen.
|
* @param array $args Arguments for the Languages select input on the login screen.
|
||||||
*/
|
*/
|
||||||
wp_dropdown_languages( apply_filters( 'wp_login_language_switcher_args', $args ) );
|
wp_dropdown_languages( apply_filters( 'wp_login_language_switcher_args', $args ) );
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ( $interim_login ) { ?>
|
<?php if ( $interim_login ) { ?>
|
||||||
|
|
Loading…
Reference in New Issue