mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Improvements to the nonce AYS from mdawaffe. #2734
git-svn-id: https://develop.svn.wordpress.org/trunk@3783 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
require_once('admin.php');
|
||||
|
||||
$parent_file = 'edit.php';
|
||||
$submenu_file = 'edit-comments.php';
|
||||
$wpvarstoreset = array('action');
|
||||
|
||||
for ($i=0; $i<count($wpvarstoreset); $i += 1) {
|
||||
@@ -24,8 +26,6 @@ if ( isset( $_POST['deletecomment'] ) )
|
||||
switch($action) {
|
||||
case 'editcomment':
|
||||
$title = __('Edit Comment');
|
||||
$parent_file = 'edit.php';
|
||||
$submenu_file = 'edit-comments.php';
|
||||
$editing = true;
|
||||
require_once ('admin-header.php');
|
||||
|
||||
@@ -202,4 +202,4 @@ default:
|
||||
|
||||
include('admin-footer.php');
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user