Add braces around single-line conditionals. See http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/.
This commit is contained in:
parent
aa0879e054
commit
6264437ff9
7 changed files with 27 additions and 14 deletions
|
@ -15,8 +15,9 @@
|
|||
* the visitor has not yet entered the password we will
|
||||
* return early without loading the comments.
|
||||
*/
|
||||
if ( post_password_required() )
|
||||
if ( post_password_required() ) {
|
||||
return;
|
||||
}
|
||||
?>
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue