WordPress.org

Making WordPress.org

Ticket #1995: 1995.diff

File 1995.diff, 720 bytes (added by Soean, 4 years ago)

Added 'get_permalink()' as redirect parameter.

  • wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php

    diff --git wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/header.php
    index b687abd..f469439 100644
    require WPORGPATH . 'header.php'; 
    3030                                <?php
    3131                        } else {
    3232                                ?>
    33                                 <li><a href="<?php echo esc_url( wp_login_url() ); ?>"><strong>Log in</strong></a></li>
     33                                <li><a href="<?php echo esc_url( wp_login_url( get_permalink() ) ); ?>"><strong>Log in</strong></a></li>
    3434                                <?php
    3535                        }
    3636                        ?>