login_footer

The timeline below displays how wordpress function login_footer has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.5

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filters the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!$interim_login && apply_filters('login_display_language_dropdown', true)) {
        $languages = get_available_languages();
        if (!empty($languages)) {
            ?>
			<div class="language-switcher">
				<form id="language-switcher" method="get">

					<label for="language-switcher-locales">
						<span class="dashicons dashicons-translation" aria-hidden="true"></span>
						<span class="screen-reader-text">
							<?php 
            /* translators: Hidden accessibility text. */
            _e('Language');
            ?>
						</span>
					</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);
            /**
             * Filters default arguments for the Languages select input on the login screen.
             *
             * The arguments get passed to the wp_dropdown_languages() function.
             *
             * @since 5.9.0
             *
             * @param array $args Arguments for the Languages select input on the login screen.
             */
            wp_dropdown_languages(apply_filters('login_language_dropdown_args', $args));
            ?>

					<?php 
            if ($interim_login) {
                ?>
						<input type="hidden" name="interim-login" value="1" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['redirect_to']) && '' !== $_GET['redirect_to']) {
                ?>
						<input type="hidden" name="redirect_to" value="<?php 
                echo sanitize_url($_GET['redirect_to']);
                ?>" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['action']) && '' !== $_GET['action']) {
                ?>
						<input type="hidden" name="action" value="<?php 
                echo esc_attr($_GET['action']);
                ?>" />
					<?php 
            }
            ?>

						<input type="submit" class="button" value="<?php 
            esc_attr_e('Change');
            ?>">

					</form>
				</div>
		<?php 
        }
        ?>
	<?php 
    }
    ?>
	<?php 
    if (!empty($input_id)) {
        ob_start();
        ?>
		<script>
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
        wp_print_inline_script_tag(wp_remove_surrounding_empty_script_tags(ob_get_clean()));
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	</body>
	</html>
	<?php 
}

WordPress Version: 6.4

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filters the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!$interim_login && apply_filters('login_display_language_dropdown', true)) {
        $languages = get_available_languages();
        if (!empty($languages)) {
            ?>
			<div class="language-switcher">
				<form id="language-switcher" action="" method="get">

					<label for="language-switcher-locales">
						<span class="dashicons dashicons-translation" aria-hidden="true"></span>
						<span class="screen-reader-text">
							<?php 
            /* translators: Hidden accessibility text. */
            _e('Language');
            ?>
						</span>
					</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);
            /**
             * Filters default arguments for the Languages select input on the login screen.
             *
             * The arguments get passed to the wp_dropdown_languages() function.
             *
             * @since 5.9.0
             *
             * @param array $args Arguments for the Languages select input on the login screen.
             */
            wp_dropdown_languages(apply_filters('login_language_dropdown_args', $args));
            ?>

					<?php 
            if ($interim_login) {
                ?>
						<input type="hidden" name="interim-login" value="1" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['redirect_to']) && '' !== $_GET['redirect_to']) {
                ?>
						<input type="hidden" name="redirect_to" value="<?php 
                echo sanitize_url($_GET['redirect_to']);
                ?>" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['action']) && '' !== $_GET['action']) {
                ?>
						<input type="hidden" name="action" value="<?php 
                echo esc_attr($_GET['action']);
                ?>" />
					<?php 
            }
            ?>

						<input type="submit" class="button" value="<?php 
            esc_attr_e('Change');
            ?>">

					</form>
				</div>
		<?php 
        }
        ?>
	<?php 
    }
    ?>
	<?php 
    if (!empty($input_id)) {
        ob_start();
        ?>
		<script>
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
        wp_print_inline_script_tag(wp_remove_surrounding_empty_script_tags(ob_get_clean()));
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	</body>
	</html>
	<?php 
}

WordPress Version: 6.3

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filters the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!$interim_login && apply_filters('login_display_language_dropdown', true)) {
        $languages = get_available_languages();
        if (!empty($languages)) {
            ?>
			<div class="language-switcher">
				<form id="language-switcher" action="" method="get">

					<label for="language-switcher-locales">
						<span class="dashicons dashicons-translation" aria-hidden="true"></span>
						<span class="screen-reader-text">
							<?php 
            /* translators: Hidden accessibility text. */
            _e('Language');
            ?>
						</span>
					</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);
            /**
             * Filters default arguments for the Languages select input on the login screen.
             *
             * The arguments get passed to the wp_dropdown_languages() function.
             *
             * @since 5.9.0
             *
             * @param array $args Arguments for the Languages select input on the login screen.
             */
            wp_dropdown_languages(apply_filters('login_language_dropdown_args', $args));
            ?>

					<?php 
            if ($interim_login) {
                ?>
						<input type="hidden" name="interim-login" value="1" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['redirect_to']) && '' !== $_GET['redirect_to']) {
                ?>
						<input type="hidden" name="redirect_to" value="<?php 
                echo sanitize_url($_GET['redirect_to']);
                ?>" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['action']) && '' !== $_GET['action']) {
                ?>
						<input type="hidden" name="action" value="<?php 
                echo esc_attr($_GET['action']);
                ?>" />
					<?php 
            }
            ?>

						<input type="submit" class="button" value="<?php 
            esc_attr_e('Change');
            ?>">

					</form>
				</div>
		<?php 
        }
        ?>
	<?php 
    }
    ?>
	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 6.2

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filter the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!$interim_login && apply_filters('login_display_language_dropdown', true)) {
        $languages = get_available_languages();
        if (!empty($languages)) {
            ?>
			<div class="language-switcher">
				<form id="language-switcher" action="" method="get">

					<label for="language-switcher-locales">
						<span class="dashicons dashicons-translation" aria-hidden="true"></span>
						<span class="screen-reader-text">
							<?php 
            /* translators: Hidden accessibility text. */
            _e('Language');
            ?>
						</span>
					</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);
            /**
             * Filters default arguments for the Languages select input on the login screen.
             *
             * The arguments get passed to the wp_dropdown_languages() function.
             *
             * @since 5.9.0
             *
             * @param array $args Arguments for the Languages select input on the login screen.
             */
            wp_dropdown_languages(apply_filters('login_language_dropdown_args', $args));
            ?>

					<?php 
            if ($interim_login) {
                ?>
						<input type="hidden" name="interim-login" value="1" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['redirect_to']) && '' !== $_GET['redirect_to']) {
                ?>
						<input type="hidden" name="redirect_to" value="<?php 
                echo sanitize_url($_GET['redirect_to']);
                ?>" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['action']) && '' !== $_GET['action']) {
                ?>
						<input type="hidden" name="action" value="<?php 
                echo esc_attr($_GET['action']);
                ?>" />
					<?php 
            }
            ?>

						<input type="submit" class="button" value="<?php 
            esc_attr_e('Change');
            ?>">

					</form>
				</div>
		<?php 
        }
        ?>
	<?php 
    }
    ?>
	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 6.1

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filter the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!$interim_login && apply_filters('login_display_language_dropdown', true)) {
        $languages = get_available_languages();
        if (!empty($languages)) {
            ?>
			<div class="language-switcher">
				<form id="language-switcher" action="" method="get">

					<label for="language-switcher-locales">
						<span class="dashicons dashicons-translation" aria-hidden="true"></span>
						<span class="screen-reader-text"><?php 
            _e('Language');
            ?></span>
					</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);
            /**
             * Filters default arguments for the Languages select input on the login screen.
             *
             * The arguments get passed to the wp_dropdown_languages() function.
             *
             * @since 5.9.0
             *
             * @param array $args Arguments for the Languages select input on the login screen.
             */
            wp_dropdown_languages(apply_filters('login_language_dropdown_args', $args));
            ?>

					<?php 
            if ($interim_login) {
                ?>
						<input type="hidden" name="interim-login" value="1" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['redirect_to']) && '' !== $_GET['redirect_to']) {
                ?>
						<input type="hidden" name="redirect_to" value="<?php 
                echo sanitize_url($_GET['redirect_to']);
                ?>" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['action']) && '' !== $_GET['action']) {
                ?>
						<input type="hidden" name="action" value="<?php 
                echo esc_attr($_GET['action']);
                ?>" />
					<?php 
            }
            ?>

						<input type="submit" class="button" value="<?php 
            esc_attr_e('Change');
            ?>">

					</form>
				</div>
		<?php 
        }
        ?>
	<?php 
    }
    ?>
	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.9

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filter the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!$interim_login && apply_filters('login_display_language_dropdown', true)) {
        $languages = get_available_languages();
        if (!empty($languages)) {
            ?>
			<div class="language-switcher">
				<form id="language-switcher" action="" method="get">

					<label for="language-switcher-locales">
						<span class="dashicons dashicons-translation" aria-hidden="true"></span>
						<span class="screen-reader-text"><?php 
            _e('Language');
            ?></span>
					</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);
            /**
             * 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('login_language_dropdown_args', $args));
            ?>

					<?php 
            if ($interim_login) {
                ?>
						<input type="hidden" name="interim-login" value="1" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['redirect_to']) && '' !== $_GET['redirect_to']) {
                ?>
						<input type="hidden" name="redirect_to" value="<?php 
                echo esc_url_raw($_GET['redirect_to']);
                ?>" />
					<?php 
            }
            ?>

					<?php 
            if (isset($_GET['action']) && '' !== $_GET['action']) {
                ?>
						<input type="hidden" name="action" value="<?php 
                echo esc_attr($_GET['action']);
                ?>" />
					<?php 
            }
            ?>

						<input type="submit" class="button" value="<?php 
            esc_attr_e('Change');
            ?>">

					</form>
				</div>
		<?php 
        }
        ?>
	<?php 
    }
    ?>
	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.8

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filter the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload==='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 7.1

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf('<a href="%s">%s</a>', esc_url(home_url('/')), sprintf(
            /* translators: %s: Site title. */
            _x('&larr; Go to %s', 'site'),
            get_bloginfo('title', 'display')
        ));
        /**
         * Filter the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload=='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.7

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog">
			<?php 
        $html_link = sprintf(
            '<a href="%s">%s</a>',
            esc_url(home_url('/')),
            /* translators: %s: Site title. */
            sprintf(_x('&larr; Go to %s', 'site'), get_bloginfo('title', 'display'))
        );
        /**
         * Filter the "Go to site" link displayed in the login page footer.
         *
         * @since 5.7.0
         *
         * @param string $link HTML link to the home URL of the current site.
         */
        echo apply_filters('login_site_html_link', $html_link);
        ?>
		</p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload=='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.6

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>">
		<?php 
        /* translators: %s: Site title. */
        printf(_x('&larr; Go to %s', 'site'), get_bloginfo('title', 'display'));
        ?>
		</a></p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload=='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.4

// End of login_header().
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @global bool|string $interim_login Whether interim login modal is being displayed. String 'success'
 *                                    upon successful login.
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>">
		<?php 
        /* translators: %s: Site title. */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?>
		</a></p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login">. 
    ?>

	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload=='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.3

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
		<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>">
		<?php 
        /* translators: %s: Site title. */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?>
		</a></p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
    }
    ?>
	</div><?php 
    // End of <div id="login"> 
    ?>

	<?php 
    if (!empty($input_id)) {
        ?>
		<script type="text/javascript">
		try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
		if(typeof wpOnload=='function')wpOnload();
		</script>
		<?php 
    }
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 5.1

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @since 3.1.0
 *
 * @param string $input_id Which input to auto-focus.
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>">
		<?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?>
	</a></p>
		<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
        ?>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 9.6

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
        ?>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 9.3

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: .20

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
        ?>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 9.2

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: .10

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
        the_privacy_policy_link('<div class="privacy-policy-page-link">', '</div>');
        ?>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 4.6

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        /* translators: %s: site title */
        printf(_x('&larr; Back to %s', 'site'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 4.5

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>"><?php 
        printf(__('&larr; Back to %s'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}

WordPress Version: 3.7

// End of login_header()
/**
 * Outputs the footer for the login page.
 *
 * @param string $input_id Which input to auto-focus
 */
function login_footer($input_id = '')
{
    global $interim_login;
    // Don't allow interim logins to navigate away from the page.
    if (!$interim_login) {
        ?>
	<p id="backtoblog"><a href="<?php 
        echo esc_url(home_url('/'));
        ?>" title="<?php 
        esc_attr_e('Are you lost?');
        ?>"><?php 
        printf(__('&larr; Back to %s'), get_bloginfo('title', 'display'));
        ?></a></p>
	<?php 
    }
    ?>

	</div>

	<?php 
    if (!empty($input_id)) {
        ?>
	<script type="text/javascript">
	try{document.getElementById('<?php 
        echo $input_id;
        ?>').focus();}catch(e){}
	if(typeof wpOnload=='function')wpOnload();
	</script>
	<?php 
    }
    ?>

	<?php 
    /**
     * Fires in the login page footer.
     *
     * @since 3.1.0
     */
    do_action('login_footer');
    ?>
	<div class="clear"></div>
	</body>
	</html>
	<?php 
}