File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -40,22 +40,22 @@ function pmpro_login_memberlite_page_title( $page_title_html ) {
4040 if ( empty ( $ pmpro_pages ) || empty ( $ pmpro_pages ['login ' ] ) ) {
4141 return $ page_title_html ;
4242 }
43-
43+
4444 if ( ! is_page ( $ pmpro_pages ['login ' ] ) ) {
4545 return $ page_title_html ;
4646 }
4747
4848 if ( is_user_logged_in () ) {
49- $ title = __ ( 'Welcome ' , 'paid-memberships-pro ' );
49+ $ title = __ ( 'Welcome ' , 'memberlite ' );
5050 } elseif ( ! empty ( $ _REQUEST ['action ' ] ) && $ _REQUEST ['action ' ] === 'reset_pass ' ) {
51- $ title = __ ( 'Lost Password ' , 'paid-memberships-pro ' );
51+ $ title = __ ( 'Lost Password ' , 'memberlite ' );
5252 } elseif ( ! empty ( $ _REQUEST ['action ' ] ) && $ _REQUEST ['action ' ] === 'rp ' ) {
53- $ title = __ ( 'Reset Password ' , 'paid-memberships-pro ' );
53+ $ title = __ ( 'Reset Password ' , 'memberlite ' );
5454 } else {
5555 return $ page_title_html ;
5656 }
5757
58- $ page_title_html = '<h1 class="page-title"> ' . esc_html__ ( $ title ) . '</h1> ' ;
58+ $ page_title_html = '<h1 class="page-title"> ' . esc_html ( $ title ) . '</h1> ' ;
5959
6060 return $ page_title_html ;
6161}
You can’t perform that action at this time.
0 commit comments