WordPress.org

Make WordPress Core

Ticket #22139: wp-login.diff

File wp-login.diff, 665 bytes (added by borkweb, 8 years ago)

Addition of two new hooks

  • wp-login.php

     
    9595        ?>
    9696        </head>
    9797        <body class="login <?php echo esc_attr( implode( ' ', $classes ) ); ?>">
     98        <?php do_action( 'login_before_container' ); ?>
    9899        <div id="login">
    99100                <h1><a href="<?php echo esc_url( $login_header_url ); ?>" title="<?php echo esc_attr( $login_header_title ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    100101        <?php
     
    144145        <?php endif; ?>
    145146
    146147        </div>
     148        <?php do_action( 'login_after_container' ); ?>
    147149
    148150        <?php if ( !empty($input_id) ) : ?>
    149151        <script type="text/javascript">