Script loader fixes from mdawaffe. fixes #2765

git-svn-id: https://develop.svn.wordpress.org/trunk@3830 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2006-06-01 21:51:20 +00:00
parent 61e7840ff2
commit 077fd0a135
4 changed files with 11 additions and 6 deletions
+2 -1
View File
@@ -26,7 +26,8 @@ if ( isset( $_POST['deletecomment'] ) )
switch($action) {
case 'editcomment':
$title = __('Edit Comment');
$editing = true;
if ( user_can_richedit() )
wp_enqueue_script( 'wp_tiny_mce' );
require_once ('admin-header.php');
$comment = (int) $_GET['comment'];