]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-admin/moderation.php
WordPress 4.1.3
[autoinstalls/wordpress.git] / wp-admin / moderation.php
index 46cda95fc72090e67e9b8b66e3ca7f63bda2c8fe..13a9b4a3cd2e6ea55f03644cd9b31292f93e1361 100644 (file)
@@ -1,4 +1,12 @@
 <?php
-require_once('../wp-load.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( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
+wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
+exit;