mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-05 10:22:23 +01:00
fd57b239d2
Always use dirname() or, once available, ABSPATH. props ketwaroo, hakre. fixes #17092. Built from https://develop.svn.wordpress.org/trunk@25616 git-svn-id: http://core.svn.wordpress.org/trunk@25533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
13 lines
320 B
PHP
13 lines
320 B
PHP
<?php
|
|
/**
|
|
* 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;
|