عرض اسم المستخدم عند تسجيل الدخول في الشريط

Just a quick heads up: did you verify that this piece of code doesn’t raise any errors for non-logged in users? A JS error in a theme could make your site completely unusable.