Add closing form tag when no comments displayed, props sivel, fixes #8283
git-svn-id: https://develop.svn.wordpress.org/trunk@9799 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d3dde76422
commit
927d260aed
@ -317,22 +317,16 @@ if ( $page_links )
|
||||
</form>
|
||||
|
||||
<div id="ajax-response"></div>
|
||||
<?php
|
||||
} elseif ( 'moderated' == $_GET['comment_status'] ) {
|
||||
?>
|
||||
<p>
|
||||
<?php _e('No comments awaiting moderation… yet.') ?>
|
||||
</p>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<p>
|
||||
<?php _e('No results found.') ?>
|
||||
</p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?php } elseif ( 'moderated' == $_GET['comment_status'] ) { ?>
|
||||
<p><?php _e('No comments awaiting moderation… yet.') ?></p>
|
||||
</form>
|
||||
|
||||
<?php } else { ?>
|
||||
<p><?php _e('No results found.') ?></p>
|
||||
</form>
|
||||
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
Loading…
Reference in New Issue
Block a user