]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/moderation.php
Wordpress 3.3.1-scripts
[autoinstalls/wordpress.git] / wp-admin / moderation.php
index 6750ac328c5117bafd32db6148c58d1b73e0041a..d3c9afc55fdfedf49bfc3d893deace6ba58efeec 100644 (file)
@@ -1,4 +1,13 @@
 <?php
-require_once('../wp-config.php');
-wp_redirect('edit-comments.php?comment_status=moderated');
+/**
+ * Comment Moderation Administration Screen.
+ *
+ * Redirects to edit-comments.php?comment_status=moderated.
+ *
+ * @package WordPress
+ * @subpackage Administration
+ */
+require_once('../wp-load.php');
+wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
+exit;
 ?>