| @@ -776,9 +776,9 @@ | ||
| 776 | 776 | function learn_press_update_user_profile_change_password() { |
| 777 | 777 | try { |
| 778 | 778 | $user = wp_get_current_user(); |
| 779 | 779 | if ( ! $user ) { |
| 780 | - throw new Exception( 'error_lp_profile_update_pass', 'The user is invalid' ); | |
| 780 | + throw new Exception( __( 'The user is invalid', 'learnpress' ) ); | |
| 781 | 781 | } |
| 782 | 782 | |
| 783 | 783 | $old_pass = LP_Request::get_param( 'pass0', '', 'text', 'post' ); |
| 784 | 784 | if ( empty( $old_pass ) ) { |