Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialUnsubscribed User
7,386 PointsThe return value of esc_html should be assigned to a variable named "$my_plugin_username".
I followed the lesson exactly. I don't understand...
1 Answer
Chris McKirgan
5,666 PointsIs your syntax something like this? Make sure you this is set before any function returns. It would be helpful to see a copy of your code. $my_plugin_username = esc_html($your_var_or_function_here);
Sean T. Unwin
28,690 PointsSean T. Unwin
28,690 PointsIf you haven't solved this yet, please post your attempt(s) and any specific questions you may have.