Home Tutorials Default WordPress theme, Kubrick, is not valid?

Default WordPress theme, Kubrick, is not valid?



Updated on


First, I admit that only geeky WordPress designers like myself would find this amusing. It’s a small error in the WordPress default theme, Kubrick.

Here it is


The paragraph tag is not closed correctly. If you have the Kubrick theme activated, on your password-protected post, the comments area will say, “This post is password protected. Enter the password to view comments.”

You can find that message in the Kubrick comments.php file as:

<p class=”nocomments”>This post is password protected. Enter the password to view comments.<p>

To close it correctly, it should be:

<p class=”nocomments”> </p>

I spotted this a long time ago while learning how to customize the comments template and thought that the WordPress people would fix it soon. Looks like they haven’t touched the comments.php file for a while, not even after WordPress had to update Kubrick for the 2.1 series.

I’m posting it now to reiterate the first rule in my WordPress tutorial series, which is close everything in the order that you open them.

While developing your own WordPress theme, you should validate all versions and templates of your theme, which should include the password-protected message. For a list of pages and template versions to validate, go to lesson number 16 of the tutorial series.


Please enter your comment!
Please enter your name here

Recent posts

5 WordPress Plugins to Increase Your Website Speed

 And if you’re an online entrepreneur, you probably know that making people wait is bad for your eCommerce business too — really bad.I mean,...

How to Show Only Images that the User Has Uploaded in WordPress

When using WordPress with multiple authors, many things need to be taken into consideration. The default permissions system leaves much to be desired, and...

Oxygen Builder Review

Free from all sorts of coding hassles and an abundance of options that cater to the users’ needs, Oxygen 2.0 is probably the best...

Basic Guide to Online Backup

A Basic Guide to Online Backup You may have heard of it, know you need it, but what exactly is it? Online backup is the...

Web Hosting Hub Review

How did it begin? Based in Virginia Beach, Web hosting hub has been on the market since 2001. If it were not for Web Hosting...

Recent comments