nicename problem
-
Hi, when I activate the plugin, and keep your welcome_name function disabled, the user_nicename disappears in focus mode. I Solved this with this change in Your Plugin Code:
public function ld_focus_mode_welcome_name_func( $display_name, $user_info ) {
$option_active_status = if_current_class_is_active( $this->current_class );
if ( ‘active’ !== $option_active_status ) {
return $user_info->user_nicename; // <<<<<<<<<<<<<<<<<<<<< THIS CHANGE *______*
}
return $user_info->first_name; }My change was just a test, I don’t know if you think it can be good. I remain available for clarification.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘nicename problem’ is closed to new replies.