WordPress 4.2.5-scripts
[autoinstalls/wordpress.git] / wp-admin / moderation.php
index 6a26f23e0876fed4984baa82b197e450a08cb364..13a9b4a3cd2e6ea55f03644cd9b31292f93e1361 100644 (file)
@@ -1,12 +1,12 @@
 <?php
 /**
- * Comment Moderation Administration Panel.
+ * Comment Moderation Administration Screen.
  *
  * Redirects to edit-comments.php?comment_status=moderated.
  *
  * @package WordPress
  * @subpackage Administration
  */
-require_once('../wp-load.php');
-wp_redirect('edit-comments.php?comment_status=moderated');
-?>
+require_once( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
+wp_redirect( admin_url('edit-comments.php?comment_status=moderated') );
+exit;