- fixed user permalinks for profile page;

This commit is contained in:
nikitozzzzzzz
2018-03-07 10:58:58 +02:00
parent 3ba053dc16
commit 179fc36ebf
4 changed files with 23 additions and 8 deletions
+2 -1
View File
@@ -118,7 +118,8 @@ if ( ! class_exists( 'Admin_Users' ) ) {
function user_row_actions( $actions, $user_object ) {
$user_id = $user_object->ID;
$actions['frontend_profile'] = "<a class='' href='" . UM()->user()->get_profile_link( $user_id ) . "'>" . __( 'View profile', 'ultimate-member' ) . "</a>";
$actions['frontend_profile'] = "<a class='' href='" . um_user_profile_url( $user_id ) . "'>" . __( 'View profile', 'ultimate-member' ) . "</a>";
$submitted = get_user_meta( $user_id, 'submitted', true );
if ( ! empty( $submitted ) )