Title: do_action(&#039;login_footer&#039;) missing in wp_login.php 3.1-beta2
Last modified: August 19, 2016

---

# do_action('login_footer') missing in wp_login.php 3.1-beta2

 *  Resolved [jf-appnovation](https://wordpress.org/support/users/jf-appnovation/)
 * (@jf-appnovation)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/do_actionlogin_footer-missing-in-wp_login/)
 * **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)

 *  [Andrew Nacin](https://wordpress.org/support/users/nacin/)
 * (@nacin)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/do_actionlogin_footer-missing-in-wp_login/#post-1817739)
 * [http://core.trac.wordpress.org/ticket/15880](http://core.trac.wordpress.org/ticket/15880)

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.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Nacin](https://wordpress.org/support/users/nacin/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/do_actionlogin_footer-missing-in-wp_login/#post-1817739)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
