From 7caaeca5266e9062e1a2198d110ad7cf6d9eae30 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 2 Nov 2019 14:02:54 +0100 Subject: [PATCH] Fix for Howdy top sidebar translation --- functions.php | 1 - sidebar-top.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 6ba0d6d..aec20b2 100644 --- a/functions.php +++ b/functions.php @@ -254,7 +254,6 @@ $args = array('number' => 10, 'largest' => 20); return $args; } -// load_plugin_textdomain('theme-my-login' , get_site_url() . 'wp-content/plugins/theme-my-login/languages/'); // load_plugin_textdomain('user-registration' , get_site_url() . 'wp-content/themes/openmamba/languages/'); add_action('wp_head','hook_cookielaw'); diff --git a/sidebar-top.php b/sidebar-top.php index cc8fb0c..a0f21a6 100644 --- a/sidebar-top.php +++ b/sidebar-top.php @@ -36,7 +36,7 @@ if ( !is_active_sidebar( 'top-widget' ) echo "".__('Register')."  "; } else { get_currentuserinfo(); - $a = sprintf( __('Howdy, %1$s'), $current_user->display_name ); + $a = sprintf( __('Howdy, %1$s', 'responsive'), $current_user->display_name ); echo "".$a." ".get_avatar( $current_user->ID, 20 )."  "; echo "/ ".__('Logout')." "; }