mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Add closing form tag when no comments displayed, props sivel, fixes #8283
git-svn-id: http://svn.automattic.com/wordpress/trunk@9799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bdde119980
commit
81ad8fe0f7
@ -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