Skip to content

Commit

Permalink
fixed text domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ideadude committed May 1, 2020
1 parent ac69f05 commit 3b8ee5b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions inc/integrations/paid-memberships-pro.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ function pmpro_login_memberlite_page_title( $page_title_html ) {
if ( empty( $pmpro_pages ) || empty( $pmpro_pages['login'] ) ) {
return $page_title_html;
}

if ( ! is_page( $pmpro_pages['login'] ) ) {
return $page_title_html;
}

if ( is_user_logged_in() ) {
$title = __( 'Welcome', 'paid-memberships-pro' );
$title = __( 'Welcome', 'memberlite' );
} elseif ( ! empty( $_REQUEST['action'] ) && $_REQUEST['action'] === 'reset_pass' ) {
$title = __( 'Lost Password', 'paid-memberships-pro' );
$title = __( 'Lost Password', 'memberlite' );
} elseif ( ! empty( $_REQUEST['action'] ) && $_REQUEST['action'] === 'rp' ) {
$title = __( 'Reset Password', 'paid-memberships-pro' );
$title = __( 'Reset Password', 'memberlite' );
} else {
return $page_title_html;
}

$page_title_html = '<h1 class="page-title">' . esc_html__( $title ) . '</h1>';
$page_title_html = '<h1 class="page-title">' . esc_html( $title ) . '</h1>';

return $page_title_html;
}
Expand Down

0 comments on commit 3b8ee5b

Please sign in to comment.