Reply to comments from admin, first run, see #7435

git-svn-id: https://develop.svn.wordpress.org/trunk@8720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-08-24 06:56:22 +00:00
parent 0dc32ff774
commit 3e9d31fc8f
26 changed files with 776 additions and 309 deletions

View File

@@ -53,8 +53,11 @@ wp_enqueue_script('admin-forms');
list($post_stati, $avail_post_stati) = wp_edit_posts_query();
if ( 1 == count($posts) && is_singular() )
if ( 1 == count($posts) && is_singular() ) {
wp_enqueue_script( 'admin-comments' );
wp_enqueue_script( 'quicktags' );
}
require_once('admin-header.php');
if ( !isset( $_GET['paged'] ) )
@@ -267,7 +270,7 @@ if ( 1 == count($posts) && is_singular() ) :
</table>
<?php
wp_comment_reply();
endif; // comments
endif; // posts;