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 trial

WordPress Genesis Framework Foundations Configuring a Genesis Child Theme Function Snippets, Font Styles, and Alignment Items

"Bug" at 09:00?

at 09:00 it is mentioned, that commenting in functions.php tells the browser to ignore the rest of the line etc. ...

i think this is incorrect, as it's a php comment that doesn't reach the browser. is that correct?

like mentioned it sounds like it creats an html comment that is delivered via the source code.

1 Answer

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

From what I can tell the comment is converted from PHP to HTML and the browser ignores anything inside of the HTML comment. Is that what he is trying to say?

oh I see, that'd make sense ... but as I see in the source code, those comments are not distributed via the the source file + the comments (regarding sense/content) don't really make sense in the html as an html comment