sss
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -322,7 +322,7 @@ function custom_redirects() { | ... | @@ -322,7 +322,7 @@ function custom_redirects() { |
| 322 | $user = wp_get_current_user(); | 322 | $user = wp_get_current_user(); |
| 323 | $updated_profile = get_user_meta( $user->ID, 'updated_profile', true ); | 323 | $updated_profile = get_user_meta( $user->ID, 'updated_profile', true ); |
| 324 | if(!$updated_profile){ | 324 | if(!$updated_profile){ |
| 325 | if (!is_page('/account/profile/') ) { | 325 | if (!is_page('account') ) { |
| 326 | wp_redirect( home_url( '/account/profile/' ) ); | 326 | wp_redirect( home_url( '/account/profile/' ) ); |
| 327 | die; | 327 | die; |
| 328 | } | 328 | } | ... | ... |
-
Please register or sign in to post a comment