Changeset 11698 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 09/17/2017 07:18:10 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-core/bp-core-functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r11664 r11698 3679 3679 // Check required values. 3680 3680 if ( ! $raw_user_id || ! $raw_email_type || ! $raw_hash || ! array_key_exists( $raw_email_type, $emails ) ) { 3681 $redirect_to = site_url( 'wp-login.php');3681 $redirect_to = wp_login_url(); 3682 3682 $result_msg = __( 'Something has gone wrong.', 'buddypress' ); 3683 3683 $unsub_msg = __( 'Please log in and go to your settings to unsubscribe from notification emails.', 'buddypress' ); … … 3685 3685 // Check valid hash. 3686 3686 } elseif ( ! hash_equals( $new_hash, $raw_hash ) ) { 3687 $redirect_to = site_url( 'wp-login.php');3687 $redirect_to = wp_login_url(); 3688 3688 $result_msg = __( 'Something has gone wrong.', 'buddypress' ); 3689 3689 $unsub_msg = __( 'Please log in and go to your settings to unsubscribe from notification emails.', 'buddypress' ); … … 3755 3755 3756 3756 if ( empty( $args['notification_type'] ) || ! array_key_exists( $args['notification_type'], $emails ) ) { 3757 return site_url( 'wp-login.php');3757 return wp_login_url(); 3758 3758 } 3759 3759
Note: See TracChangeset
for help on using the changeset viewer.