| @@ -104,9 +104,9 @@ | ||
| 104 | 104 | |
| 105 | 105 | }else{ |
| 106 | 106 | ?> |
| 107 | 107 | <div class="timetics-userdashbaord-wrapper"> |
| 108 | - <h3> <?php esc_html_e( 'You are not logged in', 'timetics' ); ?> <a href="<?php echo esc_url(wp_login_url()) ?>"><?php esc_html_e( 'Login', 'timetics' ); ?></a></h3> | |
| 108 | + <h3> <?php esc_html_e( 'You are not logged in', 'timetics' ); ?> <a href="<?php echo esc_url( wp_login_url( get_permalink() ) ); ?>"><?php esc_html_e( 'Login', 'timetics' ); ?></a></h3> | |
| 109 | 109 | </div> |
| 110 | 110 | <?php |
| 111 | 111 | } |
| 112 | 112 | return ob_get_clean(); |