• Resolved jf-appnovation

    (@jf-appnovation)


    Code base:

    Wordpress 3.1 Beta 2, file wp_login.php.

    Problem:

    On $action='login', no callback is made to do_action('login_footer').

    Discussion:

    For any action except login, a new local function login_footer() is called at the end to close the page by outputting </body>, </html> etc.

    However, for the login action, this function is not called, and the older 3.0 code still terminates the page.

    Workaroud:

    In file wp_login.php, before line 137 (i.e. before the </body> tag), insert:

    <?php do_action('login_footer'); ?>

    Solution:

    The end of the login action needs to be made compatible with the function login_footer().

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘do_action('login_footer') missing in wp_login.php 3.1-beta2’ is closed to new replies.