summaryrefslogtreecommitdiffstats
path: root/wp-admin/comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/comment.php')
-rw-r--r--wp-admin/comment.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/wp-admin/comment.php b/wp-admin/comment.php
index 0b773b1..6589d8b 100644
--- a/wp-admin/comment.php
+++ b/wp-admin/comment.php
@@ -12,7 +12,8 @@ if ( isset( $_POST['deletecomment'] ) )
switch($action) {
case 'editcomment':
$title = __('Edit Comment');
-
+ if ( user_can_richedit() )
+ wp_enqueue_script( 'wp_tiny_mce' );
require_once ('admin-header.php');
$comment = (int) $_GET['comment'];