updated filter email to filter the author page special keyword
This commit is contained in:
@@ -186,7 +186,8 @@ function current_user_infos_CIPF($atts) {
|
||||
if (!empty($wp_query->posts))
|
||||
$user_id = $wp_query->posts[0]->post_author;
|
||||
}
|
||||
$current_user = new WP_User($user_id);
|
||||
//$current_user = new WP_User($user_id);
|
||||
$current_user = get_user_by('id', $user_id);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user